diff --git a/src/xpdev/ini_file.c b/src/xpdev/ini_file.c index d3e70c4d24fe72e506e23a63b1c899c1d9f5a02c..7272b17cb1fa18924f0aee91fd72c847eb513512 100644 --- a/src/xpdev/ini_file.c +++ b/src/xpdev/ini_file.c @@ -187,6 +187,7 @@ static char* key_name(char* p, char** vp) { char* equal; char* colon; + char* tp; *vp=NULL; @@ -220,7 +221,7 @@ static char* key_name(char* p, char** vp) truncnl(*vp); /* "key : value" - truncate new-line chars only */ if(*(*vp) == '"') { /* handled quoted-strings here */ (*vp)++; - char* tp = strrchr(*vp, '"'); + tp = strrchr(*vp, '"'); if(tp != NULL) { *tp = 0; }