mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Fixed wrong structure declaration
The declaration of the structure actually also created an unused variable. This variable was not used anywhere, and lead to symbol defined in multiple objects. These symbol are silently merged by GCC, thus no problem was reported. The issue was raised by Yves de Champlain when trying to compile with LLVM/clang which is a bit stricter there.
This commit is contained in:
committed by
Carlos R. Mafra
parent
244b63e6b5
commit
39fdb451ba
@@ -122,7 +122,7 @@ typedef struct W_DragDestinationInfo {
|
|||||||
} W_DragDestinationInfo;
|
} W_DragDestinationInfo;
|
||||||
|
|
||||||
|
|
||||||
struct W_DraggingInfo {
|
typedef struct W_DraggingInfo {
|
||||||
unsigned char protocolVersion; /* version supported on the other side */
|
unsigned char protocolVersion; /* version supported on the other side */
|
||||||
Time timestamp;
|
Time timestamp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user