Skip to content

Commit 6af23d2

Browse files
committed
(src/legacy) Using __attribute__((unused))
1 parent 40e5d86 commit 6af23d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/legacy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3939
#define PGROUTING_DEPRECATE(version, funcname) \
4040
Datum funcname(PG_FUNCTION_ARGS); \
4141
PG_FUNCTION_INFO_V1(funcname); \
42-
Datum funcname([[maybe_unused]] PG_FUNCTION_ARGS) \
42+
Datum funcname(__attribute__((unused)) PG_FUNCTION_ARGS) \
4343
{ \
4444
ereport(ERROR, (\
4545
errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \

0 commit comments

Comments
 (0)