X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=port.cpp;h=3dc5f689209b10e22187d14801a3bc0f867b867e;hp=4ffa822fcc80d65cdc3faee960dee926def3ac90;hb=42b2772d78f3c1ecd4a4e9e5f2e49db9b420554f;hpb=825ad6f887dc27eff5f01fd557ff59fe77f3bdeb diff --git a/port.cpp b/port.cpp index 4ffa822..3dc5f68 100644 --- a/port.cpp +++ b/port.cpp @@ -666,7 +666,7 @@ int Port::open_record(int type, int vbox, int skip, char *extension, int anon_ig char filename[256]; time_t now; struct tm *now_tm; - int ret; + int __attribute__((__unused__)) ret; if (!extension) { PERROR("Port(%d) not an extension\n", p_serial); @@ -759,7 +759,7 @@ void Port::close_record(int beep, int mute) char *p; struct caller_info callerinfo; const char *valid_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_.-!$%&/()=+*;~"; - int ret; + int __attribute__((__unused__)) ret; if (!p_record) return; @@ -960,7 +960,7 @@ void Port::record(unsigned char *data, int length, int dir_fromup) signed short *s; int free, i, ii; signed int sample; - int ret; + int __attribute__((__unused__)) ret; /* no recording */ if (!p_record || !length)