mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
cppchecker
This commit is contained in:
parent
cc6f497897
commit
89f43c1221
1 changed files with 1 additions and 2 deletions
|
@ -1471,10 +1471,9 @@ char *json_vasprintf(const char *fmt, va_list ap) {
|
||||||
|
|
||||||
char *json_asprintf(const char *fmt, ...) WEAK;
|
char *json_asprintf(const char *fmt, ...) WEAK;
|
||||||
char *json_asprintf(const char *fmt, ...) {
|
char *json_asprintf(const char *fmt, ...) {
|
||||||
char *result = NULL;
|
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
result = json_vasprintf(fmt, ap);
|
char *result = json_vasprintf(fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue