1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 13:28:05 +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:
Christophe CURIS
2012-04-21 14:01:27 +02:00
committed by Carlos R. Mafra
parent 244b63e6b5
commit 39fdb451ba

View File

@@ -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;