[GRASS-git] [OSGeo/grass] 0c3a9c: lib/gis: Refactor va_list usage in debug module (#...
Mohan Yelugoti
noreply at github.com
Fri Nov 29 08:51:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 0c3a9c74d52c0c9efb9ba62832dfea203294041b
https://github.com/OSGeo/grass/commit/0c3a9c74d52c0c9efb9ba62832dfea203294041b
Author: Mohan Yelugoti <ymdatta.work at gmail.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M lib/gis/debug.c
Log Message:
-----------
lib/gis: Refactor va_list usage in debug module (#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 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list