aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-05-15 17:24:57 -0700
committerJunio C Hamano <gitster@pobox.com>2025-05-15 17:24:57 -0700
commitfc0460894c1df8351da57d9d83f813b84c9750b4 (patch)
treea9ded18bfc801d3cd63e5c33c6cfc2b5ad32dca3
parentMerge branch 'jc/t6011-mv-ro-fix' (diff)
parentintialize false_but_the_compiler_does_not_know_it_ (diff)
downloadgit-fc0460894c1df8351da57d9d83f813b84c9750b4.tar.gz
git-fc0460894c1df8351da57d9d83f813b84c9750b4.zip
Merge branch 'tb/macos-false-but-the-compiler-does-not-know-it-fix'
Workaround for older macOS ld. * tb/macos-false-but-the-compiler-does-not-know-it-fix: intialize false_but_the_compiler_does_not_know_it_
-rw-r--r--compiler-tricks/not-constant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-tricks/not-constant.c b/compiler-tricks/not-constant.c
index 1da3ffc2f5..9fb4f275b1 100644
--- a/compiler-tricks/not-constant.c
+++ b/compiler-tricks/not-constant.c
@@ -1,2 +1,2 @@
#include <git-compat-util.h>
-int false_but_the_compiler_does_not_know_it_;
+int false_but_the_compiler_does_not_know_it_ = 0;