aboutsummaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-11 14:24:00 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-11 14:24:00 -0700
commit7cb5073fcaffe8a8c0572fdffb332110b0eaae69 (patch)
treea21b3afa490380dc5a31b863466fe45e0de81e4b /attr.c
parent051086b947ee7a6fdd5697889a225098f723761d (diff)
parent89c855ed3cbe64bea93ea081d0e96077e9ee8517 (diff)
downloadgit-7cb5073fcaffe8a8c0572fdffb332110b0eaae69.tar.gz
git-7cb5073fcaffe8a8c0572fdffb332110b0eaae69.tar.xz
Merge branch 'ep/do-not-feed-a-pointer-to-array-size'
Catch a programmer mistake to feed a pointer not an array to ARRAY_SIZE() macro, by using a couple of GCC extensions. * ep/do-not-feed-a-pointer-to-array-size: git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deriving the size of array
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions