From a7bdc9daa802ea67e41e0f93bdd8f0e64b00f8d9 Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Fri, 15 Jan 2016 22:34:38 -0500 Subject: Fix set but unused variable warning Change-Id: I23fb9abf2b9462c939d4d9caf699e48ffded3bb4 Reviewed-on: https://gerrit.libreoffice.org/21505 Reviewed-by: jan iversen Tested-by: jan iversen --- l10ntools/source/srclex.l | 2 -- 1 file changed, 2 deletions(-) diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 1cdef41c6b3c..9caf0441c37b 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; } -- cgit