Skip to content

Commit fbba6de

Browse files
committed
Suppress "literal string will be frozen" warnings
1 parent b5faf7c commit fbba6de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/gettext/tools/msginit.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# Copyright (C) 2012 Haruka Yoshihara <yoshihara@clear-code.com>
4-
# Copyright (C) 2012-2021 Sutou Kouhei <kou@clear-code.com>
4+
# Copyright (C) 2012-2024 Sutou Kouhei <kou@clear-code.com>
55
#
66
# License: Ruby's or LGPL
77
#
@@ -416,7 +416,7 @@ def convert_plural_rules(rules)
416416
n_plurals += 1
417417
conditions << condition
418418
end
419-
expression = ""
419+
expression = +""
420420
case conditions.size
421421
when 0
422422
expression << "0"

0 commit comments

Comments
 (0)