Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-10-19 01:23:16 +0300
committerBryan Drewery <bryan@shatow.net>2021-10-19 01:23:16 +0300
commit0070a55f9c849e53070e781e8f37711040444a3c (patch)
tree3cecf131ec4d772ba593f7bdbc233c2f060377d5 /src
parent964cf327fe6f585a39bc0c86493c6cdb963dfdfb (diff)
Don't {} initialize va_list
Diffstat (limited to 'src')
-rw-r--r--src/poudriere-sh/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poudriere-sh/helpers.h b/src/poudriere-sh/helpers.h
index 7bb8656b..930c0de8 100644
--- a/src/poudriere-sh/helpers.h
+++ b/src/poudriere-sh/helpers.h
@@ -108,7 +108,7 @@ void verrorwithstatus(int, const char *, va_list) __printf0like(2, 0) __dead2;
#define exit_X(_0, _1, X, ...) exit ## X
#define exit_0(_) return (0)
#define exit_1(_, status) do { \
- va_list va_empty = {}; \
+ va_list va_empty; \
verrorwithstatus(status, NULL, va_empty); \
} while (0)