1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Albert Chu <chu11@llnl.gov>
Date: Thu, 20 Feb 2025 12:16:59 -0800
Subject: toolcommon: fix gcc15 compilation error
---
common/toolcommon/tool-config-file-common.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/toolcommon/tool-config-file-common.c b/common/toolcommon/tool-config-file-common.c
index 609e7a3..20dfad5 100644
--- a/common/toolcommon/tool-config-file-common.c
+++ b/common/toolcommon/tool-config-file-common.c
@@ -78,14 +78,14 @@ _config_file_bool (conffile_t cf,
void *app_ptr,
int app_data)
{
- int *bool;
+ int *value;
assert (data);
assert (optionname);
assert (option_ptr);
- bool = (int *)option_ptr;
- *bool = data->boolval;
+ value = (int *)option_ptr;
+ *value = data->boolval;
return (0);
}
|