# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1321334492 0 # Node ID 2bc23978cfcd8b74d8fd880adb2e8aabcd3ae755 # Parent 1436bcd68ee4f72c010f902bb603b9c1786eaf72 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. diff -r 1436bcd68ee4 -r 2bc23978cfcd os2/dw.c --- 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"));