In main.c we have
opt.progress_type = "dot";
gcc warns about that...
main.c:1302:29: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default]
...and is right since opt.progress_type is malloced/freed somewhere else:
init.c/cmd_spec_progress()
xfree_null (opt.progress_type);
opt.progress_type = xstrdup (val);
=== modified file 'src/main.c'
--- src/main.c 2012-03-05 21:23:06 +0000
+++ src/main.c 2012-04-12 08:22:07 +0000
@@ -1299,7 +1299,7 @@
}
if (opt.warc_keep_log)
{
- opt.progress_type = "dot";
+ opt.progress_type = xstrdup("dot");
}
}