forked from enlightenment/enlightenment
dear Mike,
If you just want to silence your warning remove all -W from your CFLAGS and take your revenge back to your compiler. Introducing bugs to just silent warning is not gona help any one. The borker, Cedric
This commit is contained in:
parent
723825e49e
commit
07b5d9fe6c
|
@ -10,7 +10,7 @@
|
|||
#endif
|
||||
|
||||
double
|
||||
e_sys_l2ping(const char *bluetooth_mac EINA_UNUSED)
|
||||
e_sys_l2ping(const char *bluetooth_mac)
|
||||
{
|
||||
#ifdef HAVE_BLUETOOTH
|
||||
char send_buf[L2CAP_CMD_HDR_SIZE + 1];
|
||||
|
@ -95,6 +95,7 @@ e_sys_l2ping(const char *bluetooth_mac EINA_UNUSED)
|
|||
|
||||
return ecore_time_get() - start;
|
||||
#else
|
||||
(void) bluetooth_mac;
|
||||
fprintf(stderr, "e_sys_l2ping nop\n");
|
||||
return -1;
|
||||
#endif
|
||||
|
|
|
@ -188,7 +188,7 @@ main(int argc,
|
|||
latency = e_sys_l2ping(output);
|
||||
|
||||
eina_convert_dtoa(latency, tmp);
|
||||
fprintf(stdout, "%s\n", tmp);
|
||||
fputs(tmp, stdout);
|
||||
|
||||
return (latency < 0) ? 1 : 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue