Skip to content

Commit 1e2dc7c

Browse files
committed
Remove const qualifier from function declaration.
due to complier complians /home/reshke/cloudberry/contrib/pax_storage/../../src/include/utils/numeric.h:319:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 319 | extern const bool init_var_from_str(const char *str, const char *cp, NumericVar *dest, const char **endptr, | ^~~~~
1 parent 45bebaf commit 1e2dc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/numeric.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7059,7 +7059,7 @@ zero_numeric_var(NumericVar *var)
70597059
* Returns true on success, false on failure (if escontext points to an
70607060
* ErrorSaveContext; otherwise errors are thrown).
70617061
*/
7062-
const bool
7062+
bool
70637063
init_var_from_str(const char *str, const char *cp, NumericVar *dest, const char **endptr,
70647064
Node *escontext)
70657065
{

0 commit comments

Comments
 (0)