bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3b197594d8786a486b15cab0db78a5ac78a227bc
Author: Gökhan Gurbetoğlu <gokhan.gurbeto...@pardus.org.tr>
Date:   Mon Jun 6 17:37:55 2016 +0300

    tdf#39440 Reduced the scope of the variable c
    
    Change-Id: I14cf653a661664eeb31015bf8aa94f7c140dd87f
    Reviewed-on: https://gerrit.libreoffice.org/26002
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: jan iversen <j...@documentfoundation.org>

diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx 
b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx
index 74fb519..26c2479 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 */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to