[Freeciv-Dev] [Patch] Waste of string storage
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The attached patch fixes these error messages:
server/report.c: (in function value_units)
server/report.c:578:25: String literal with 2 characters is assigned to char
[64] (possible waste of storage): "??"
A string literal is assigned to a char array that smaller than the string
literal needs. (Use -stringliteralsmaller to inhibit warning)
server/report.c: (in function report_demographics)
server/report.c:908:23: String literal with 0 characters is assigned to char
[4096] (possible waste of storage): ""
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"USENET is *not* the non-clickable part of WWW!"
stringliteralsmaller1.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [Patch] Waste of string storage,
Raimar Falke <=
|
|