Commits

Brian Curtin  committed d7bc016

Fix PREFAST warning of redefined variable

  • Participants
  • Parent commits b47a7c0

Comments (0)

Files changed (1)

File CLILauncher/launcher.c

                                      L"%s%s", check, PYTHON_EXECUTABLE);
                         attrs = GetFileAttributesW(ip->executable);
                         if (attrs == INVALID_FILE_ATTRIBUTES) {
-                            wchar_t message[MSGSIZE];
-                            winerror(GetLastError(), message, MSGSIZE);
+                            wchar_t msg[MSGSIZE];
+                            winerror(GetLastError(), msg, MSGSIZE);
                             debug(L"locate_pythons_for_key: %s: %s",
-                                  ip->executable, message);
+                                  ip->executable, msg);
                         }
                         else if (attrs & FILE_ATTRIBUTE_DIRECTORY) {
                             debug(L"locate_pythons_for_key: '%s' is a \