Skip to content
Snippets Groups Projects
Commit 93cfe283 authored by rswindell's avatar rswindell
Browse files

Eliminated (harmless) bcc32 warning.

parent 4e785d02
Branches
Tags
No related merge requests found
...@@ -467,7 +467,7 @@ int DLLCALL get_errno(void) ...@@ -467,7 +467,7 @@ int DLLCALL get_errno(void)
/****************************************************************************/ /****************************************************************************/
long double DLLCALL xp_timer(void) long double DLLCALL xp_timer(void)
{ {
long double ret=0; long double ret;
#ifdef __unix__ #ifdef __unix__
struct timeval tv; struct timeval tv;
if(gettimeofday(&tv,NULL)==1) if(gettimeofday(&tv,NULL)==1)
......
...@@ -473,5 +473,6 @@ char* strListCreateBlock(str_list_t list) ...@@ -473,5 +473,6 @@ char* strListCreateBlock(str_list_t list)
void strListFreeBlock(char* block) void strListFreeBlock(char* block)
{ {
FREE_AND_NULL(block); /* this must be done here for Windows-DLL reasons */ if(block!=NULL)
free(block); /* this must be done here for Windows-DLL reasons */
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment