mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-27 22:28:21 +00:00
Reorder check_strtox_error() to make it obvious that we always store
through a non-null @endptr.
Transform
if (some error) {
error case ...
err = value for error case;
} else {
normal case ...
err = value for normal case;
}
return err;
to
if (some error) {
error case ...
return value for error case;
}
normal case ...
return value for normal case;
Backports commit 4baef2679e029c76707be1e2ed54bf3dd21693fe from qemu
|
||
|---|---|---|
| .. | ||
| bitmap.c | ||
| bitops.c | ||
| crc32c.c | ||
| cutils.c | ||
| error.c | ||
| getauxval.c | ||
| host-utils.c | ||
| log.c | ||
| Makefile.objs | ||
| mmap-alloc.c | ||
| module.c | ||
| oslib-posix.c | ||
| oslib-win32.c | ||
| qemu-error.c | ||
| qemu-thread-posix.c | ||
| qemu-thread-win32.c | ||
| qemu-timer-common.c | ||
| range.c | ||