Skip to content

Commit

Permalink
Suppress "literal string will be frozen" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 22, 2024
1 parent b5faf7c commit fbba6de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gettext/tools/msginit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2012 Haruka Yoshihara <[email protected]>
# Copyright (C) 2012-2021 Sutou Kouhei <[email protected]>
# Copyright (C) 2012-2024 Sutou Kouhei <[email protected]>
#
# License: Ruby's or LGPL
#
Expand Down Expand Up @@ -416,7 +416,7 @@ def convert_plural_rules(rules)
n_plurals += 1
conditions << condition
end
expression = ""
expression = +""
case conditions.size
when 0
expression << "0"
Expand Down

0 comments on commit fbba6de

Please sign in to comment.