mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
Fix some warnings
Non-obvious fixes: WINGs/wfilepanel.c: Cast to void to avoid an unused calculated value warning. WINGs/wtabview.c: Test tab<0 to avoid a warning from the next condition about signed overflow in an inlined invocation of the function. Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
51134d2438
commit
5eebb8bc3c
@@ -311,13 +311,13 @@ void W_DragDestinationStoreEnterMsgInfo(WMDraggingInfo * info, WMView * toplevel
|
||||
XDND_AWARE_VIEW(info) = toplevel;
|
||||
updateSourceWindow(info, event);
|
||||
|
||||
/*
|
||||
#if 0
|
||||
if (event->data.l[1] & 1)
|
||||
/* XdndTypeList property is available */
|
||||
/* XDND_SOURCE_TYPES(info) = getTypesFromTypeList(scr, XDND_SOURCE_WIN(info));
|
||||
XDND_SOURCE_TYPES(info) = getTypesFromTypeList(scr, XDND_SOURCE_WIN(info));
|
||||
else
|
||||
XDND_SOURCE_TYPES(info) = getTypesFromThreeTypes(scr, event);
|
||||
*/
|
||||
#endif
|
||||
XDND_SOURCE_TYPES(info) = getTypesFromThreeTypes(scr, event);
|
||||
|
||||
/* to use if the 3 types are not enough */
|
||||
|
||||
Reference in New Issue
Block a user