mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
scripts/uncrustify: Use 2-spaces indentation for defines too
This commit is contained in:
committed by
Marco Trevisan
parent
4dd51f38c7
commit
ee73d67765
@@ -79,13 +79,16 @@
|
||||
*
|
||||
* Uses fp_err() to print an error if the @condition is true.
|
||||
*/
|
||||
#define BUG_ON(condition) G_STMT_START \
|
||||
if (condition) { \
|
||||
char *s; \
|
||||
s = g_strconcat ("BUG: (", #condition, ")", NULL); \
|
||||
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
|
||||
g_free (s); \
|
||||
} G_STMT_END
|
||||
#define BUG_ON(condition) \
|
||||
G_STMT_START \
|
||||
if (condition) \
|
||||
{ \
|
||||
char *s; \
|
||||
s = g_strconcat ("BUG: (", #condition, ")", NULL); \
|
||||
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
|
||||
g_free (s); \
|
||||
} \
|
||||
G_STMT_END
|
||||
|
||||
/**
|
||||
* BUG:
|
||||
|
||||
Reference in New Issue
Block a user