ext/raw1394/: Pretend to care about the result of write() which works around compiler warnings.
Original commit message from CVS: * ext/raw1394/gstdv1394src.c: (SEND_COMMAND): * ext/raw1394/gsthdv1394src.c: (SEND_COMMAND): Pretend to care about the result of write() which works around compiler warnings.
This commit is contained in:
parent
9a12021247
commit
2a4c9ec6aa
@ -1,3 +1,11 @@
|
|||||||
|
2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
|
|
||||||
|
* ext/raw1394/gstdv1394src.c: (SEND_COMMAND):
|
||||||
|
* ext/raw1394/gsthdv1394src.c: (SEND_COMMAND):
|
||||||
|
Pretend to care about the result of write() which works around
|
||||||
|
compiler warnings.
|
||||||
|
|
||||||
2008-09-04 Tim-Philipp Müller <tim.muller at collabora co uk>
|
2008-09-04 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
* ext/flac/gstflacenc.c: (gst_flac_enc_class_init):
|
* ext/flac/gstflacenc.c: (gst_flac_enc_class_init):
|
||||||
|
2
common
2
common
@ -1 +1 @@
|
|||||||
Subproject commit 8d494854a6018336a80ece82ceb3df0033e2da9c
|
Subproject commit 1ff63d8f92c36bf207434436f4ce75f2a4ea11a4
|
@ -68,8 +68,8 @@
|
|||||||
|
|
||||||
#define SEND_COMMAND(src, command) \
|
#define SEND_COMMAND(src, command) \
|
||||||
G_STMT_START { \
|
G_STMT_START { \
|
||||||
unsigned char c; c = command; \
|
int _res; unsigned char c; c = command; \
|
||||||
write (WRITE_SOCKET(src), &c, 1); \
|
_res = write (WRITE_SOCKET(src), &c, 1); \
|
||||||
} G_STMT_END
|
} G_STMT_END
|
||||||
|
|
||||||
#define READ_COMMAND(src, command, res) \
|
#define READ_COMMAND(src, command, res) \
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
|
|
||||||
#define SEND_COMMAND(src, command) \
|
#define SEND_COMMAND(src, command) \
|
||||||
G_STMT_START { \
|
G_STMT_START { \
|
||||||
unsigned char c; c = command; \
|
int _res; unsigned char c; c = command; \
|
||||||
write (WRITE_SOCKET(src), &c, 1); \
|
_res = write (WRITE_SOCKET(src), &c, 1); \
|
||||||
} G_STMT_END
|
} G_STMT_END
|
||||||
|
|
||||||
#define READ_COMMAND(src, command, res) \
|
#define READ_COMMAND(src, command, res) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user