nfs4: Fix compiler warning about optionsEnd being not initialized
This commit is contained in:
parent
3d8415d7da
commit
25909fec0b
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user