Kaydet (Commit) 3b197594 authored tarafından Gökhan Gurbetoğlu's avatar Gökhan Gurbetoğlu 🇹🇷 Kaydeden (comit) jan iversen

tdf#39440 Reduced the scope of the variable c

Change-Id: I14cf653a661664eeb31015bf8aa94f7c140dd87f
Reviewed-on: https://gerrit.libreoffice.org/26002Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
üst 05cd1785
...@@ -60,7 +60,6 @@ namespace ...@@ -60,7 +60,6 @@ namespace
int off; // offset used to find function int off; // offset used to find function
int nw; // number of words mapped int nw; // number of words mapped
long *p; // pointer to parameter overflow area long *p; // pointer to parameter overflow area
int c; // character of parameter type being decoded
int iret, iret2; // temporary function return values int iret, iret2; // temporary function return values
// never called // never called
...@@ -114,7 +113,7 @@ namespace ...@@ -114,7 +113,7 @@ namespace
/* parse the argument list up to the ending ) */ /* parse the argument list up to the ending ) */
while (*pPT != 'X') { while (*pPT != 'X') {
c = *pPT; int c = *pPT; // character of parameter type being decoded
switch (c) { switch (c) {
case 'D': /* type is double */ case 'D': /* type is double */
/* treat the same as long long */ /* treat the same as long long */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment