]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/file-name.cc
cleaner init to 0.
[lilypond.git] / flower / file-name.cc
index fd69d379d5a4e42b0aec4af31493ea0dfc9d7e43..21fec4e4b1a8a8a5a054edef2f32ae3175a9c566 100644 (file)
@@ -42,7 +42,7 @@ static string
 dos_to_posix (string file_name)
 {
   char buf[PATH_MAX] = "";
-  char s[PATH_MAX];
+  char s[PATH_MAX] = {0};
   file_name.copy (s, PATH_MAX - 1);
   /* ugh: char const* argument gets modified.  */
   int fail = cygwin_conv_to_posix_path (s, buf);