Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/gis: Refactor va_list usage in debug module (OSGeo#4702)
va_list() macro initializes va_list structure before it's usage, and each va_list() call has to be accompanied by corresponding va_end() macro call on the same va_list structure. By having these macros directly before and after the va_list structure usage, reduces the number of places we need to keep track of whether the va_list structure was properly inintialized or closed. Signed-off-by: Mohan Yelugoti <ymdatta.work@gmail.com>
- Loading branch information