diff options
-rw-r--r-- | unoidl/source/sourceprovider-parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y index b093349f7e65..da1693283edc 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); |