X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a21e692d22ec16a5de7dbbb73761d4c4456edaa..aa154cb1578ba9d44c7e24c5e76d8238bf8809d0:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 1f80781a6a..0bec2e03fe 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -751,7 +751,7 @@ wxContractPath (const wxString& filename, const wxString& envname, const wxStrin #endif // Handle User's home (ignore root homes!) - size_t len; + size_t len = 0; if ((val = wxGetUserHome (user)) != NULL && (len = wxStrlen(val)) > 2 && wxStrncmp(dest, val, len) == 0)