summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-02-14 03:40:37 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:37 -0500
commit3cef99c21b02c34e5a52833f550187324557bda5 (patch)
treef03cac53175192a588360d5bba6fa6b8eba32480
parent7d4f8f83c19ecbd56b14380875e9c6f9e8ac9a8c (diff)
downloadperk-3cef99c21b02c34e5a52833f550187324557bda5.tar.bz2
perk-3cef99c21b02c34e5a52833f550187324557bda5.tar.xz
argv.h: argv_get(): add missing initializer (ctx.program).
-rw-r--r--src/internal/argv/argv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h
index 10beb51..410d326 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -670,7 +670,7 @@ static struct argv_meta * argv_get(
int flags)
{
struct argv_meta * meta;
- struct argv_ctx ctx = {flags,ARGV_MODE_SCAN,0,0,0,0};
+ struct argv_ctx ctx = {flags,ARGV_MODE_SCAN,0,0,0,0,0};
argv_scan(argv,options,&ctx,0);