Removed debugging information

This commit is contained in:
Pierre Pronchery 2010-01-28 10:30:14 +00:00
parent 7ea809674f
commit 065495f703

View File

@ -130,7 +130,6 @@ static gboolean _gps_get(GPS * gps)
&& (gps->fd = open(path2, O_RDONLY)) == -1)
{
error_set("%s: %s", path1, strerror(errno));
error_print("DEBUG");
return FALSE;
}
errno = ENODATA; /* in case the pseudo-file is empty */
@ -138,7 +137,6 @@ static gboolean _gps_get(GPS * gps)
|| read(gps->fd, &on, sizeof(on)) != 1)
{
error_set("%s: %s", path1, strerror(errno));
error_print("DEBUG");
close(gps->fd);
gps->fd = -1;
return FALSE;