Removed warning
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2604 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
f66aa5e10e
commit
d55e1d4b6a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue