b8f5eaff0b
Clean up dead stores
...
Does not change optimized code (gcc -O).
Spotted by the Clang Static Analyzer.
2010-01-19 08:40:42 +01:00
73e25ff21e
Update copyright notice
2010-01-19 08:40:17 +01:00
90f8f2b099
Don't use 0 as null pointer constant, part 2
...
This part replaces E != 0 by E, where E has pointer type.
2009-03-24 21:46:01 +01:00
35ef345ecb
Update copyright notice
2009-02-08 09:33:18 +01:00
d702068457
Fix trailing whitespace
2008-09-17 21:31:40 -04:00
990b39edec
Check subscript of rpt[]
...
Make nws_vrb unsigned to simplify that.
2008-03-14 20:25:08 +01:00
db02dda32f
Update copyright notice
2008-01-19 10:15:37 +01:00
63bdc89835
Update copyright notice.
2007-01-09 19:09:31 +00:00
e42053d928
Break inclusion cycle: prototypes.h and commands.h included each
...
other. Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special). New header types.h to
help avoid inclusion cycles. Sort include directives. Remove some
superflous includes.
2006-07-10 06:37:23 +00:00
0d842c47f7
Purge the register keyword.
2006-05-21 13:18:57 +00:00
aee94ca077
(head_describe): Print the headline instead of returning the format
...
string. This simplifies format string checking.
2006-03-26 12:08:35 +00:00
4515b84c59
COPYING duplicates information from README. Remove. Move GPL from
...
LICENSE to COPYING, because that's where it usually is. Update all
the references to these files.
2006-01-21 19:48:41 +00:00
3e400c018c
Update copyright notice.
2006-01-05 13:36:57 +00:00
3aebb68ee7
Include config.h.
2005-12-27 18:04:19 +00:00
4f59fc9967
Remove a bunch of redundant casts.
2005-06-12 06:31:48 +00:00
345ad3dfe0
Update copyright notice.
2005-03-16 22:03:16 +00:00
fac342ed49
Update copyright notice.
2004-09-07 15:07:16 +00:00
0696bb190d
Indentation fix.
2004-02-06 23:26:25 +00:00
4ae9c417b3
(bzero, bcopy): Obsolete BSDisms; remove. Remove some calls without
...
effect. Replace calls by struct assignment where possible. Replace
clear buffer, copy string to buffer by strncpy(). Use assignment to
clear when that's clearer. Replace overlapping copy through bounce
buffer by memmove(). Replace rest by standard memset() and memcpy().
Also use sizeof() instead of literal array sizes for robustness, and
instead of symbolic array sizes for clarity.
2004-01-08 17:54:28 +00:00
9b7adfbecc
Indented with src/scripts/indent-emp.
2003-09-02 20:48:48 +00:00
d8b7fdfae1
Import of Empire 4.2.12
2003-08-23 12:23:04 +00:00