[Libreoffice-commits] core.git: unoidl/source

Stephan Bergmann sbergman at redhat.com
Wed Sep 18 02:10:46 PDT 2013


 unoidl/source/sourceprovider-parser.y |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 65da01fa1d6e5da6c70694e6e494adc70c4b236a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Sep 18 11:10:20 2013 +0200

    -Wshadow
    
    Change-Id: I8299079b46be4ccb7070f5497d089166a953c939

diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y
index b093349..da16932 100644
--- a/unoidl/source/sourceprovider-parser.y
+++ b/unoidl/source/sourceprovider-parser.y
@@ -3701,10 +3701,10 @@ bool parse(OUString const & uri, SourceProviderScannerData * data) {
             // Checking errno for the specific EINVAL, ENOMEM documented for
             // yylex_init_extra would not work as those values are not defined
             // by the C++ Standard:
-            int e = errno;
+            int e2 = errno;
             throw FileFormatException(
                 uri,
-                "yylex_init_extra failed with errno " + OUString::number(e));
+                "yylex_init_extra failed with errno " + OUString::number(e2));
         }
         int e2 = yyparse(yyscanner);
         yylex_destroy(yyscanner);


More information about the Libreoffice-commits mailing list