mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-01-20 07:10:14 +01:00
Fix C4706 warning
This commit is contained in:
parent
f7bf375bea
commit
387f875058
|
|
@ -66,8 +66,8 @@ wxString CXLXHostsFileDownloader::Download(const wxString & xlxHostsFileURL)
|
|||
return wxEmptyString;
|
||||
}
|
||||
|
||||
wxInputStream* in = NULL;
|
||||
if((in = http.GetInputStream(path)) && in->IsOk()) {
|
||||
wxInputStream* in = http.GetInputStream(path);
|
||||
if(in != NULL && in->IsOk()) {
|
||||
wxFile file;
|
||||
wxString xlxHostsFileName = wxFileName::CreateTempFileName(_T("XLX_Hosts_"), &file);
|
||||
wxLogMessage(_T("Created temporary file %s"), xlxHostsFileName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue