summaryrefslogtreecommitdiff
path: root/glib/goption.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2023-05-09 08:42:37 -0500
committerEric Blake <eblake@redhat.com>2023-05-09 09:29:16 -0500
commit171bcd524aa0ca0587bd55b26ac4e709fb4bd5cf (patch)
tree5b1f0d1465cc0f5c665191f33e1b403072009cb7 /glib/goption.c
parent2ab2ce57e665d77932348b6489836e5c31e9896b (diff)
downloadglib-171bcd524aa0ca0587bd55b26ac4e709fb4bd5cf.tar.gz
gtestutils: Style touchup
Use more modern styling to the code added in the previous patch: - split 'label: stmt; stmt;' into multiple lines - add default: label with g_assert_not_reached() [yes, it's a bit weird adding an assertion inside code that handles assertions, but we should be okay since g_assertion_message_* are not public functions and should only be used by our macros] - use <inttypes.h> for shorter format strings Note, however, that using uint64_t in gtestutils.h is not feasible, since it would require adding an '#include <stdint.h>' with potential unintended namespace pollution to older clients. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'glib/goption.c')
0 files changed, 0 insertions, 0 deletions