diff options
author | Andrey Nazarov <skuller@skuller.net> | 2013-01-06 21:13:16 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2013-01-07 14:54:56 +0400 |
commit | 5f9eed3c3478a0ab5d01018b343ec39cb22a173e (patch) | |
tree | 53706249655117889d4c7219e398a16177c916b3 /src/client/entities.c | |
parent | 5ecbf20d85b39e20c6d12f6839c02a780825297c (diff) |
Fix some scan-build detected issues.
Fix potential crash when parsing unknown long options. Silence a few
warnings.
Diffstat (limited to 'src/client/entities.c')
-rw-r--r-- | src/client/entities.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/entities.c b/src/client/entities.c index f5cdbf4..25a6b61 100644 --- a/src/client/entities.c +++ b/src/client/entities.c @@ -385,7 +385,7 @@ void CL_DeltaFrame(void) // for debugging problems when out-of-date entity origin is referenced void CL_CheckEntityPresent(int entnum, const char *what) { - centity_t *e = &cl_entities[entnum]; + centity_t *e; if (entnum == cl.frame.clientNum + 1) { return; // player entity = current |