OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7dcfac
)
json-parser: remove dead increment
author
Amit Shah
<amit.shah@redhat.com>
Wed, 13 Jan 2010 10:54:47 +0000
(16:24 +0530)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 13 Jan 2010 23:14:15 +0000
(17:14 -0600)
clang-analyzer points out a redundant increment.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
json-parser.c
patch
|
blob
|
history
diff --git
a/json-parser.c
b/json-parser.c
index
7624c0f
..
e04932f
100644
(file)
--- a/
json-parser.c
+++ b/
json-parser.c
@@
-247,8
+247,6
@@
static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token
}
}
- ptr++;
-
return str;
out: