nfs4: Fix compiler warning about optionsEnd being not initialized

This commit is contained in:
Pawel Dziepak 2013-03-11 13:15:19 +01:00
parent 3d8415d7da
commit 25909fec0b

View File

@ -110,7 +110,7 @@ ParseArguments(const char* _args, AddressResolver** address, char** _path,
conf->fEmulateNamedAttrs = false;
conf->fCacheMetadata = true;
char* optionsEnd;
char* optionsEnd = NULL;
if (options != NULL)
optionsEnd = strchr(options, ' ');
while (options != NULL && *options != '\0') {