mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55: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{
|
h := genHelper{
|
||||||
wuffsRoot: wuffsRoot,
|
wuffsRoot: wuffsRoot,
|
||||||
langs: langs,
|
langs: langs,
|
||||||
ccompilers: *ccompilersFlag,
|
|
||||||
cformatter: *cformatterFlag,
|
cformatter: *cformatterFlag,
|
||||||
genlinenum: *genlinenumFlag,
|
genlinenum: *genlinenumFlag,
|
||||||
skipgen: genlib && *skipgenFlag,
|
skipgen: genlib && *skipgenFlag,
|
||||||
skipgendeps: *skipgendepsFlag,
|
skipgendeps: *skipgendepsFlag,
|
||||||
}
|
}
|
||||||
|
if genlib {
|
||||||
|
h.ccompilers = *ccompilersFlag
|
||||||
|
}
|
||||||
|
|
||||||
for _, arg := range args {
|
for _, arg := range args {
|
||||||
recursive := strings.HasSuffix(arg, "/...")
|
recursive := strings.HasSuffix(arg, "/...")
|
||||||
|
|||||||
Reference in new issue
Block a user