Ticket #3541 (closed defect: fixed)
[patch] fix latest warning regressions for recent gcc versions
Reported by: | and | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 4.8.15 |
Component: | mcedit | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
fix compile warning regressions introduced recently
editcmd.c:3647:9: error: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
editcmd.c:3653:32: error: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
patch against 52fd328042a426e885da891c8ce8218cda3a1cf7
compile test with GCC 5.2.0
Signed-off-by: Andreas Mohr <and@…>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.