mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-29 09:52:29 +01:00
WMMergePLDictionaries() and WMSubtractPLDictionaries() are declared to return WMPropList * but are set to call the wassertr macro when their arguments do not pass a sanity check. The wassertr macro eventually calls return with no return value, triggering a compiler warning if -Wreturn-type is used. Change wassertr to wassertrv and force a return of NULL in the error case.
38 KiB
38 KiB