From 3b197594d8786a486b15cab0db78a5ac78a227bc Mon Sep 17 00:00:00 2001 From: Gökhan Gurbetoğlu Date: Mon, 6 Jun 2016 17:37:55 +0300 Subject: tdf#39440 Reduced the scope of the variable c Change-Id: I14cf653a661664eeb31015bf8aa94f7c140dd87f Reviewed-on: https://gerrit.libreoffice.org/26002 Tested-by: Jenkins Reviewed-by: jan iversen --- bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bridges') diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx index 74fb519f5ea2..26c247939861 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx @@ -60,7 +60,6 @@ namespace int off; // offset used to find function int nw; // number of words mapped long *p; // pointer to parameter overflow area - int c; // character of parameter type being decoded int iret, iret2; // temporary function return values // never called @@ -114,7 +113,7 @@ namespace /* parse the argument list up to the ending ) */ while (*pPT != 'X') { - c = *pPT; + int c = *pPT; // character of parameter type being decoded switch (c) { case 'D': /* type is double */ /* treat the same as long long */ -- cgit