summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr>2016-06-06 17:37:55 +0300
committerjan iversen <jani@documentfoundation.org>2016-06-08 06:03:08 +0000
commit3b197594d8786a486b15cab0db78a5ac78a227bc (patch)
treed06df8d759c226e28f9bd346bc5048f78b163975
parent05cd178535619d7cfecc15c059a92c2006f9282d (diff)
tdf#39440 Reduced the scope of the variable c
Change-Id: I14cf653a661664eeb31015bf8aa94f7c140dd87f Reviewed-on: https://gerrit.libreoffice.org/26002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx3
1 files changed, 1 insertions, 2 deletions
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 */