summaryrefslogtreecommitdiffstats
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-27 15:23:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-28 16:43:42 +0100
commitb31e2b69607f80c1e2e9b20ce7e687387cd2db17 (patch)
tree5f8efebc85528438517a204b3b8884adcedd6449 /l10ntools
parentreintroduce ScCaptionPtr (diff)
downloadcore-b31e2b69607f80c1e2e9b20ce7e687387cd2db17.tar.gz
core-b31e2b69607f80c1e2e9b20ce7e687387cd2db17.zip
Remove unused YYWarning functions (cargo cult?)
Change-Id: I9cb03530150ee35bdaee4920dd2e818007a0a658 Reviewed-on: https://gerrit.libreoffice.org/68469 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfglex.l9
-rw-r--r--l10ntools/source/xrmlex.l12
2 files changed, 0 insertions, 21 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index f5fc2280dfe2..bea165204338 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -146,15 +146,6 @@ int yywrap(void)
}
/*****************************************************************************/
-void YYWarning( const char *s )
-/*****************************************************************************/
-{
- /* write warning to stderr */
- fprintf( stderr,
- "Warning: \"%s\" in line %d, column %d: \"%s\"\n", s, yylineno, yycolumn, yytext );
-}
-
-/*****************************************************************************/
void yyerror ( const char *s )
/*****************************************************************************/
{
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index c4d18337c5ad..41a19f279cf2 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -47,9 +47,6 @@
#define YY_NO_UNISTD_H
-/* forwards */
-void YYWarning();
-
static int bText=0;
%}
@@ -177,15 +174,6 @@ int yywrap(void)
}
/*****************************************************************************/
-void YYWarning( const char *s )
-/*****************************************************************************/
-{
- /* write warning to stderr */
- fprintf( stderr,
- "Warning: \"%s\" in line %d: \"%s\"\n", s, yylineno, yytext );
-}
-
-/*****************************************************************************/
void yyerror ( const char *s )
/*****************************************************************************/
{