mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-28 19:05:51 +01:00
Remove warnings
* Remove assigned but not used variables (GCC 4.6) * Bump _XOPEN_SOURCE to 600, ridding of FreeBSD warnings (this probably need to be tweaked on a per-implementation basis as problems arise)
This commit is contained in:
committed by
Carlos R. Mafra
parent
43c7abe79f
commit
f65b99e615
@@ -722,13 +722,10 @@ void WMRemoveSplitViewSubview(WMSplitView * sPtr, WMView * view)
|
||||
|
||||
void WMRemoveSplitViewSubviewAt(WMSplitView * sPtr, int index)
|
||||
{
|
||||
W_SplitViewSubview *p;
|
||||
|
||||
CHECK_CLASS(sPtr, WC_SplitView);
|
||||
|
||||
/* TODO: same about rewrite */
|
||||
if (index >= 0 && index < _GetSubviewsCount()) {
|
||||
p = _GetPSubviewStructAt(index);
|
||||
WMDeleteFromArray(sPtr->subviews, index);
|
||||
sPtr->flags.adjustOnPaint = 1;
|
||||
paintSplitView(sPtr);
|
||||
|
||||
Reference in New Issue
Block a user