From: Bruno Haible Date: Sun, 3 Aug 2025 18:11:40 +0000 (+0200) Subject: intl-java: Remove an unused variable. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d6f665b972c45e877f39fe134a0394fc7db1130;p=thirdparty%2Fgettext.git intl-java: Remove an unused variable. Reported by Coverity. * gettext-runtime/intl-java/gnu/gettext/GettextResource.java (ngettextnull): Remove an unused variable. --- diff --git a/gettext-runtime/intl-java/gnu/gettext/GettextResource.java b/gettext-runtime/intl-java/gnu/gettext/GettextResource.java index 7c86d26e5..6151698d3 100644 --- a/gettext-runtime/intl-java/gnu/gettext/GettextResource.java +++ b/gettext-runtime/intl-java/gnu/gettext/GettextResource.java @@ -1,5 +1,5 @@ /* GNU gettext for Java - * Copyright (C) 2001-2024 Free Software Foundation, Inc. + * Copyright (C) 2001-2025 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -99,7 +99,6 @@ public abstract class GettextResource extends ResourceBundle { // is that we want the generated ResourceBundles to be completely // standalone, so that migration from the Sun approach to the GNU gettext // approach (without use of plurals) is as straightforward as possible. - ResourceBundle origCatalog = catalog; do { // Try catalog itself. if (verbose)