nfs4: Fix compiler warning about optionsEnd being not initialized
This commit is contained in:
@@ -110,7 +110,7 @@ ParseArguments(const char* _args, AddressResolver** address, char** _path,
|
|||||||
conf->fEmulateNamedAttrs = false;
|
conf->fEmulateNamedAttrs = false;
|
||||||
conf->fCacheMetadata = true;
|
conf->fCacheMetadata = true;
|
||||||
|
|
||||||
char* optionsEnd;
|
char* optionsEnd = NULL;
|
||||||
if (options != NULL)
|
if (options != NULL)
|
||||||
optionsEnd = strchr(options, ' ');
|
optionsEnd = strchr(options, ' ');
|
||||||
while (options != NULL && *options != '\0') {
|
while (options != NULL && *options != '\0') {
|
||||||
|
|||||||
Reference in New Issue
Block a user