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

Peter Foley pefoley2 at pefoley.com
Sat Jan 16 02:55:13 PST 2016


 l10ntools/source/srclex.l |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit a7bdc9daa802ea67e41e0f93bdd8f0e64b00f8d9
Author: Peter Foley <pefoley2 at pefoley.com>
Date:   Fri Jan 15 22:34:38 2016 -0500

    Fix set but unused variable warning
    
    
    Change-Id: I23fb9abf2b9462c939d4d9caf699e48ffded3bb4
    Reviewed-on: https://gerrit.libreoffice.org/21505
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l
index 1cdef41..9caf044 100644
--- a/l10ntools/source/srclex.l
+++ b/l10ntools/source/srclex.l
@@ -234,10 +234,8 @@ void yyerror( const char *s )
 }
 
 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
-    int e;
     yyin = init(argc, argv);
     yylex();
-    e = GetError();
     Close();
     return EXIT_SUCCESS;
 }


More information about the Libreoffice-commits mailing list