diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-04-14 18:54:55 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 20:13:07 +0200 |
commit | 078322fd938187b6c88505f23eb823f930372ba9 (patch) | |
tree | e25951665216b59008b8c42c7cef3e91f41566e7 /src/wizard2.c | |
parent | 12661153e56546361be7e002af099fd95b0ac66a (diff) |
Fix an uninitialized string for [C]reate Artifact debug command.
Diffstat (limited to 'src/wizard2.c')
-rw-r--r-- | src/wizard2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wizard2.c b/src/wizard2.c index 2d398905..0d476474 100644 --- a/src/wizard2.c +++ b/src/wizard2.c @@ -142,7 +142,7 @@ static void wiz_create_named_art() object_type *q_ptr; int i, a_idx; cptr p = "Number of the artifact :"; - char out_val[80]; + char out_val[80] = ""; artifact_type *a_ptr; if (!get_string(p, out_val, 4)) return; |