mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Fix "wuffs gen" null pointer dereference
This commit is contained in:
1 parent
7136dcdfd4
commit
3b466277dc
1 file changed
+3
-1
+3
-1
@@ -84,12 +84,14 @@ func doGenGenlib(wuffsRoot string, args []string, genlib bool) error {
|
||||
h := genHelper{
|
||||
wuffsRoot: wuffsRoot,
|
||||
langs: langs,
|
||||
ccompilers: *ccompilersFlag,
|
||||
cformatter: *cformatterFlag,
|
||||
genlinenum: *genlinenumFlag,
|
||||
skipgen: genlib && *skipgenFlag,
|
||||
skipgendeps: *skipgendepsFlag,
|
||||
}
|
||||
if genlib {
|
||||
h.ccompilers = *ccompilersFlag
|
||||
}
|
||||
|
||||
for _, arg := range args {
|
||||
recursive := strings.HasSuffix(arg, "/...")
|
||||
|
||||
Reference in new issue
Block a user