diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-30 17:22:42 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-30 17:22:53 +0400 |
commit | a787cb12077b33ec139894fc3d9a4c98deb134e0 (patch) | |
tree | d7adfdd7846bc77fd1780953f40a9d06a52db7ca /g15helper | |
parent | faa55b080e0a3f4306b19706d8278a6879cdfc76 (diff) |
Fix a few more compiler warnings
Diffstat (limited to 'g15helper')
-rw-r--r-- | g15helper/g15helper.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/g15helper/g15helper.c b/g15helper/g15helper.c index 97115c609..fca836bfa 100644 --- a/g15helper/g15helper.c +++ b/g15helper/g15helper.c @@ -66,9 +66,7 @@ int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL DWORD dwErr; BOOL bErr; BOOL bDetect = FALSE; - int i; HANDLE hStdin, hStdout; - DWORD dwLen; lgLcdConnectContextEx conn; lgLcdOpenByTypeContext ctx; lgLcdBitmap160x43x1 bitmap; @@ -163,7 +161,7 @@ int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL dwErr = lgLcdUpdateBitmap(ctx.device, (const lgLcdBitmapHeader *) &bitmap, bPriority ? LGLCD_SYNC_UPDATE(LGLCD_PRIORITY_ALERT) : LGLCD_SYNC_UPDATE(LGLCD_PRIORITY_NORMAL)); if (dwErr != ERROR_SUCCESS) - warn("Unable to update bitmap for device #%i successfully. (Error: %i)", i, dwErr); + warn("Unable to update bitmap for device. (Error: %i)", dwErr); } /* |