mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 09:33:55 -07:00
Removed NULL conversion warnings caused by #926
This commit is contained in:
parent
e136c11b65
commit
05424a4c0e
1 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ void ServerLogger::flushBuffer()
|
||||||
void ServerLogger::hupSignalHandler(int /*unused*/)
|
void ServerLogger::hupSignalHandler(int /*unused*/)
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
ssize_t writeValue = NULL;
|
ssize_t writeValue = 0;
|
||||||
|
|
||||||
if (!logFile)
|
if (!logFile)
|
||||||
return;
|
return;
|
||||||
|
|
@ -135,7 +135,7 @@ void ServerLogger::hupSignalHandler(int /*unused*/)
|
||||||
void ServerLogger::handleSigHup()
|
void ServerLogger::handleSigHup()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
ssize_t readValue = NULL;
|
ssize_t readValue = 0;
|
||||||
|
|
||||||
if (!logFile)
|
if (!logFile)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue