mirror of
https://github.com/git/git.git
synced 2026-04-02 13:00:08 +02:00
winansi: fix compile warnings
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/* common Win32 functions for MinGW and Cygwin */
|
||||
#include <windows.h>
|
||||
#include <conio.h>
|
||||
|
||||
static inline int file_attr_to_st_mode (DWORD attr)
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ static void set_console_attr(void)
|
||||
static void erase_in_line(void)
|
||||
{
|
||||
CONSOLE_SCREEN_BUFFER_INFO sbi;
|
||||
long dummy; /* Needed for Windows 7 (or Vista) regression */
|
||||
DWORD dummy; /* Needed for Windows 7 (or Vista) regression */
|
||||
|
||||
if (!console)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user