mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Cop out on uninitialized large variables.
vectors, quaternions and structs are a little tricky. I need to think about how to get them working, but I also want qfcc to get through as much code as possible.
This commit is contained in:
parent
40c97f9570
commit
4c1dc568e0
1 changed files with 5 additions and 1 deletions
|
@ -550,7 +550,11 @@ flow_uninitialized (flowgraph_t *graph)
|
|||
def = flowvar_get_def (var);
|
||||
dummy.line = def->line;
|
||||
dummy.file = def->file;
|
||||
warning (&dummy, "%s may be used uninitialized", def->name);
|
||||
if (type_size (def->type) != 1) {
|
||||
bug (&dummy, "too hard basket");
|
||||
} else {
|
||||
warning (&dummy, "%s may be used uninitialized", def->name);
|
||||
}
|
||||
}
|
||||
}
|
||||
set_delete (stuse);
|
||||
|
|
Loading…
Reference in a new issue