From 25909fec0b37f579d5619f9e13771334f184f370 Mon Sep 17 00:00:00 2001 From: Pawel Dziepak Date: Mon, 11 Mar 2013 13:15:19 +0100 Subject: [PATCH] nfs4: Fix compiler warning about optionsEnd being not initialized --- src/add-ons/kernel/file_systems/nfs4/kernel_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/nfs4/kernel_interface.cpp b/src/add-ons/kernel/file_systems/nfs4/kernel_interface.cpp index b3366cf4fc..5db1447555 100644 --- a/src/add-ons/kernel/file_systems/nfs4/kernel_interface.cpp +++ b/src/add-ons/kernel/file_systems/nfs4/kernel_interface.cpp @@ -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') {