Mercurial > dwindows
changeset 1347:2bc23978cfcd
Removed some unused variables in the new OS/2 code... as reported by gcc.
Font variable may need to come back if/when I get the font changing working.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 15 Nov 2011 05:21:32 +0000 |
parents | 1436bcd68ee4 |
children | 64c8eba7c0fc |
files | os2/dw.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Tue Nov 15 05:14:09 2011 +0000 +++ b/os2/dw.c Tue Nov 15 05:21:32 2011 +0000 @@ -1652,7 +1652,6 @@ case WM_BUTTON3DOWN: { POINTS pts = (*((POINTS*)&mp1)); - int day = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_day")); int month = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_month")); int year = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_year")); int dayofweek = 1, x, height; @@ -1725,7 +1724,7 @@ { HPS hpsPaint; RECTL rclPaint, rclDraw; - char buf[100], font[50] = { 0 }; + char buf[100]; int day = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_day")); int month = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_month")); int year = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_year"));