mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Uninitialized variable compiler warnings on Linux
This commit is contained in:
parent
18d145ec21
commit
80ad0e3bf8
@ -804,7 +804,7 @@ void CTapeFSPublish::Complete(XP_Bool bSuccess,
|
||||
// Temporarily remove characters after final slash
|
||||
// from m_pRemoteURL, so pRemoteFullURL is a directory.
|
||||
char *lastSlash = XP_STRRCHR(m_pRemoteURL,'/');
|
||||
char saved;
|
||||
char saved=0;
|
||||
if (lastSlash) {
|
||||
saved = *(lastSlash + 1);
|
||||
*(lastSlash + 1) = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user