warning fix artifact.c
src/artifact.c(65): warning C4132: 'zero_artiexist': const object should be initialized
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ static xchar artidisco[NROFARTIFACTS];
|
|||||||
* bulk re-init if game restart ever gets implemented. They are saved
|
* bulk re-init if game restart ever gets implemented. They are saved
|
||||||
* and restored but that is done through this file so they can be local.
|
* and restored but that is done through this file so they can be local.
|
||||||
*/
|
*/
|
||||||
static const struct arti_info zero_artiexist; /* all bits zero */
|
static const struct arti_info zero_artiexist = {0}; /* all bits zero */
|
||||||
|
|
||||||
static void hack_artifacts(void);
|
static void hack_artifacts(void);
|
||||||
static boolean attacks(int, struct obj *);
|
static boolean attacks(int, struct obj *);
|
||||||
|
|||||||
Reference in New Issue
Block a user