]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common source file not applicable to open-vm-tools at this time.
authorKruti Pendharkar <kp025370@broadcom.com>
Wed, 8 Jan 2025 06:05:50 +0000 (22:05 -0800)
committerKruti Pendharkar <kp025370@broadcom.com>
Wed, 8 Jan 2025 06:05:50 +0000 (22:05 -0800)
open-vm-tools/services/vmtoolsd/cmdLine.c

index dbd2c76616f1eab8829ca7c47788a9b5ad49ae27..0c276929f3a3266d0242a0228f4d7bd6f3a03fc2 100644 (file)
@@ -68,7 +68,7 @@ ToolsCoreRunCommand(const gchar *option,
    VMTools_AttachConsole();
 #endif
    if (VmCheck_IsVirtualWorld()) {
-      char *result = NULL;
+      char *result;
       Bool status = RpcChannel_SendOne(&result, NULL, "%s", value);
 
       if (!status) {
@@ -109,7 +109,7 @@ ToolsCoreRunCommandFromFile(const gchar *option,
    VMTools_AttachConsole();
 #endif
    if (VmCheck_IsVirtualWorld()) {
-      char *result = NULL;
+      char *result;
       Bool status;
       gchar *fileContents = NULL;