summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2021-08-01 06:19:15 -0700
committerlhchavez <lhchavez@lhchavez.com>2021-08-08 19:08:59 -0700
commit991ccdc5bd2f42669389a0cad7c4cb816615da67 (patch)
treecfebd49c35b70aa1a851cebe69de99f856d3bcd8 /src
parentb060080e9f036ab45b86d5d37473a8ec49c29acf (diff)
downloadlibgit2-991ccdc5bd2f42669389a0cad7c4cb816615da67.tar.gz
formatting
Diffstat (limited to 'src')
-rw-r--r--src/cc-compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 21f321124..6bdc65145 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -44,10 +44,10 @@
#endif
#if defined(__GNUC__)
-# define GIT_UNUSED(x) \
- do { \
- typeof(x) _unused __attribute__((unused)); \
- _unused = (x); \
+# define GIT_UNUSED(x) \
+ do { \
+ typeof(x) _unused __attribute__((unused)); \
+ _unused = (x); \
} while (0)
#else
# define GIT_UNUSED(x) ((void)(x))