Kill warnings.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3237 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Lutz Mueller
2001-11-27 15:03:58 +00:00
parent d320880e7a
commit b444e827c7

View File

@@ -306,9 +306,9 @@ l_receive (GPPort *device, unsigned char **rb, unsigned int *rbs,
CHECK_NULL (device && rb && rbs);
for (i = 0; ; ) {
CHECK (gp_port_timeout_set (device, timeout));
CHECK (gp_port_set_timeout (device, timeout));
CHECK (gp_port_read (device, &c, 1));
CHECK (gp_port_timeout_set (device, DEFAULT_TIMEOUT));
CHECK (gp_port_set_timeout (device, DEFAULT_TIMEOUT));
switch (c) {
case ENQ: