Commit Graph

3 Commits

Author SHA1 Message Date
pancake
514d53eb82 Fix some warnings spotted by msvc 2021-11-14 19:15:14 +01:00
pancake
137fdd0821
Fix warning in the JSON parser (#17827)
json_parser.c: In function 'parse_value':
json_parser.c:240:9: warning: 'new_key' may be used uninitialized in this function [-Wmaybe-uninitialized]
     p = parse_value (js, new_key, p);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Co-authored-by: pancake <pancake@nopcode.org>
2020-10-26 14:07:15 +08:00
Riccardo Schirone
8344b7c304
Rename new json parser file to json_indent to avoid collisions (#17569) ##build
libr.a is built with all the files required to build against r2, so that
includes also SDB. As SDB already has a file named json.c, the new json
parser in r_util collides with it.
2020-09-02 04:56:54 +02:00