mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Catch taking size of null type
This should help catch similar errors in the future.
This commit is contained in:
parent
0f1f477e64
commit
b37c331e76
1 changed files with 0 additions and 2 deletions
|
@ -817,8 +817,6 @@ type_assignable (const type_t *dst, const type_t *src)
|
|||
int
|
||||
type_size (const type_t *type)
|
||||
{
|
||||
if (!type)
|
||||
return 0;
|
||||
switch (type->type) {
|
||||
case ev_void:
|
||||
case ev_string:
|
||||
|
|
Loading…
Reference in a new issue