mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-04 11:50:32 +01:00
Fixed compiler warnings.
This commit is contained in:
parent
8891d51be1
commit
cd815c347a
2 changed files with 2 additions and 4 deletions
|
|
@ -68,8 +68,6 @@ _dbus_file_read (HANDLE hnd,
|
|||
|
||||
data = _dbus_string_get_data_len (buffer, start, count);
|
||||
|
||||
again:
|
||||
|
||||
result = ReadFile (hnd, data, count, &bytes_read, NULL);
|
||||
if (result == 0)
|
||||
{
|
||||
|
|
@ -114,7 +112,7 @@ _dbus_file_get_contents (DBusString *str,
|
|||
DWORD fsize;
|
||||
DWORD fsize_hi;
|
||||
int orig_len;
|
||||
int total;
|
||||
unsigned int total;
|
||||
const char *filename_c;
|
||||
|
||||
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ indent (int depth)
|
|||
static void
|
||||
print_hex (unsigned char *bytes, unsigned int len, int depth)
|
||||
{
|
||||
int i, columns;
|
||||
unsigned int i, columns;
|
||||
|
||||
printf ("array of bytes [\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue