Skip to content

Commit

Permalink
Misc: fixed GCC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
matttbe committed Oct 22, 2014
1 parent 10e25bd commit 4142f70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dialog-rendering/src/applet-decorator-curly.c
Expand Up @@ -204,7 +204,7 @@ static void _render_menu (GtkWidget *pMenu, cairo_t *pCairoContext)
double fTipHeight = ah + fRadius; // we want the tip of the arrow to reach the border, not the middle of the stroke
double dh = fTipHeight + fRadius;
int iDeltaIconX = 0, iDeltaIconY = 0;
double dh1, dh2;
double dh1 = dh, dh2 = dh;
switch (iMarginPosition)
{
case 0:
Expand Down
2 changes: 1 addition & 1 deletion dialog-rendering/src/applet-decorator-modern.c
Expand Up @@ -221,7 +221,7 @@ static void _render_menu (GtkWidget *pMenu, cairo_t *pCairoContext)
double fDockOffsetX = fLineWidth/2;
double fDockOffsetY = fLineWidth/2;
double fFrameWidth, fFrameHeight;
int sw, sh; // w/h direction
int sw = 1, sh = 1; // w/h direction
fFrameWidth = w - fLineWidth;
fFrameHeight = h - fLineWidth;

Expand Down
2 changes: 1 addition & 1 deletion dock-rendering/src/rendering-panel.c
Expand Up @@ -809,7 +809,7 @@ static void cd_update_input_shape (CairoDock *pDock)
rect.y = 0;
rect.width = xi; // to first icon
rect.height = h;
cd_debug ("rect %d; %d (%s)", (int)rect.x, (int)rect.width, pIcon->cName);
cd_debug ("rect %d; %d", (int)rect.x, (int)rect.width);
}
else
{
Expand Down

0 comments on commit 4142f70

Please sign in to comment.