From 2d6f665b972c45e877f39fe134a0394fc7db1130 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 3 Aug 2025 20:11:40 +0200 Subject: [PATCH] intl-java: Remove an unused variable. Reported by Coverity. * gettext-runtime/intl-java/gnu/gettext/GettextResource.java (ngettextnull): Remove an unused variable. --- gettext-runtime/intl-java/gnu/gettext/GettextResource.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.47.3