From 8516b80d53bf431464029d160bc210144ad2ce06 Mon Sep 17 00:00:00 2001 From: Tomasz Szulc Date: Sat, 13 Feb 2016 10:18:22 +0100 Subject: [PATCH] Suppresed few warnings --- Swifternalization/TranslationsLoader.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Swifternalization/TranslationsLoader.swift b/Swifternalization/TranslationsLoader.swift index e73721c..86b5bcc 100644 --- a/Swifternalization/TranslationsLoader.swift +++ b/Swifternalization/TranslationsLoader.swift @@ -44,9 +44,9 @@ final class TranslationsLoader { // Count every string or dict occurence. for (_, value) in element { if value is String { - strings++ + strings += 1 } else if value is Dictionary { - dicts++ + dicts += 1 } }