Removed warning

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2604 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2008-07-24 17:12:39 +00:00
parent f66aa5e10e
commit d55e1d4b6a
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ int main( int argc, const char *argv[] )
char *name = strtok( parms[p], "=" ); char *name = strtok( parms[p], "=" );
char *value = strtok( NULL, "=" ); char *value = strtok( NULL, "=" );
if ( !value ) if ( !value )
value = ""; value = (char *)"";
if ( !strcmp( name, "source" ) ) if ( !strcmp( name, "source" ) )
{ {
source = !strcmp( value, "event" )?ZMS_EVENT:ZMS_MONITOR; source = !strcmp( value, "event" )?ZMS_EVENT:ZMS_MONITOR;