mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[qfcc] Fix some not uninitialized warnings
The "not" because I'm pretty sure they're false positives due to when the function is called, but clang doesn't know that (wonder why gcc was ok with it).
This commit is contained in:
parent
b02e29ea89
commit
3479897224
1 changed files with 3 additions and 3 deletions
|
@ -647,10 +647,10 @@ pointer_arithmetic (int op, expr_t *e1, expr_t *e2)
|
|||
{
|
||||
type_t *t1 = get_type (e1);
|
||||
type_t *t2 = get_type (e2);
|
||||
expr_t *ptr;
|
||||
expr_t *offset;
|
||||
expr_t *ptr = 0;
|
||||
expr_t *offset = 0;
|
||||
expr_t *psize;
|
||||
type_t *ptype;
|
||||
type_t *ptype = 0;
|
||||
|
||||
if (!is_ptr (t1) && !is_ptr (t2)) {
|
||||
internal_error (e1, "pointer arithmetic on non-pointers");
|
||||
|
|
Loading…
Reference in a new issue