This value was used but no code path existed that would actually
return this error, so remove it.
#define STDOUT_ERRORS
#define FILE_WRITE_ERRORS
#define STDIN_ERRORS
+#define WRITE_ERRORS
extern const char **para_errlist[];
PARA_ERROR(READ_PATTERN, "did not read expected pattern"), \
-#define WRITE_ERRORS \
- PARA_ERROR(WRITE_SYNTAX, "para_write syntax error"), \
-
-
#define ALSA_WRITE_ERRORS \
PARA_ERROR(BROKEN_CONF, "Broken alsa configuration"), \
PARA_ERROR(ACCESS_TYPE, "alsa access type not available"), \
cwt->task.error = 0;
register_task(&cwt->task);
- ret = -E_WRITE_SYNTAX;
if (!conf.writer_given) {
i = 0;
wns = para_calloc(sizeof(*wns));
*/
int main(int argc, char *argv[])
{
- int ret = -E_WRITE_SYNTAX;
+ int ret;
writer_init();
write_cmdline_parser(argc, argv, &conf);