Commit 7b8bfef2 7b8bfef29b7d1d30f5714bb951bd33fc40007cfa by Sergey Poznyakoff

Minor changes.

* examples/mta.c: Remove include mu_asprintf.h.
* libmu_auth/radius.c: Remove include inttostr.h.
* libmu_scm/mu_dbgport.c: Silence gcc warnings.
* libmu_sieve/extensions/pipe.c: Remove include <mu_dbm.h>.
* libmu_sieve/sieve-priv.h: Remove include mu_asprintf.h.
* maidag/python.c: Remove unused locals.
* python/libmu_py/address.c: Likewise.
* python/libmu_py/auth.c: Likewise.
* python/libmu_py/body.c: Likewise.
* python/libmu_py/secret.c: Likewise.
* python/libmu_py/stream.c: Likewise.
* python/libmu_py/url.c: Likewise.
* python/libmu_py/util.c: Likewise.
1 parent 44f275b8
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
60 #include <sys/time.h> 60 #include <sys/time.h>
61 #include <sys/socket.h> 61 #include <sys/socket.h>
62 #include <netinet/in.h> 62 #include <netinet/in.h>
63 #include <mu_asprintf.h>
64 #include <mailutils/argcv.h> 63 #include <mailutils/argcv.h>
65 #include <mailutils/mailutils.h> 64 #include <mailutils/mailutils.h>
66 65
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
30 #ifdef HAVE_STRINGS_H 30 #ifdef HAVE_STRINGS_H
31 # include <strings.h> 31 # include <strings.h>
32 #endif 32 #endif
33 #include <inttostr.h>
34 33
35 #include <mailutils/list.h> 34 #include <mailutils/list.h>
36 #include <mailutils/iterator.h> 35 #include <mailutils/iterator.h>
......
...@@ -58,7 +58,7 @@ _mu_debug_port_mark (SCM port) ...@@ -58,7 +58,7 @@ _mu_debug_port_mark (SCM port)
58 static void 58 static void
59 _mu_debug_port_flush (SCM port) 59 _mu_debug_port_flush (SCM port)
60 { 60 {
61 struct _mu_debug_port *dp = MU_DEBUG_PORT (port); 61 /* struct _mu_debug_port *dp = MU_DEBUG_PORT (port); */
62 62
63 /* FIXME: */ 63 /* FIXME: */
64 } 64 }
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
39 #include <string.h> 39 #include <string.h>
40 #include <signal.h> 40 #include <signal.h>
41 #include <regex.h> 41 #include <regex.h>
42 #include <mu_dbm.h>
43 #include <mailutils/sieve.h> 42 #include <mailutils/sieve.h>
44 43
45 #define ASSERT(expr, diag, ec) \ 44 #define ASSERT(expr, diag, ec) \
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
18 Boston, MA 02110-1301 USA */ 18 Boston, MA 02110-1301 USA */
19 19
20 #include <mailutils/sieve.h> 20 #include <mailutils/sieve.h>
21 #include <mu_asprintf.h>
22 #include <setjmp.h> 21 #include <setjmp.h>
23 #include <string.h> 22 #include <string.h>
24 23
......
...@@ -25,7 +25,6 @@ int ...@@ -25,7 +25,6 @@ int
25 python_check_msg (mu_message_t msg, struct mu_auth_data *auth, 25 python_check_msg (mu_message_t msg, struct mu_auth_data *auth,
26 const char *prog) 26 const char *prog)
27 { 27 {
28 int status;
29 PyMessage *py_msg; 28 PyMessage *py_msg;
30 mu_py_dict dict[2]; 29 mu_py_dict dict[2];
31 mu_py_script_data data[1]; 30 mu_py_script_data data[1];
......
...@@ -103,7 +103,6 @@ static PyObject * ...@@ -103,7 +103,6 @@ static PyObject *
103 api_address_createv (PyObject *self, PyObject *args) 103 api_address_createv (PyObject *self, PyObject *args)
104 { 104 {
105 int status; 105 int status;
106 char *str;
107 PyAddress *py_addr; 106 PyAddress *py_addr;
108 PyObject *py_seq; 107 PyObject *py_seq;
109 char **sv; 108 char **sv;
......
...@@ -574,7 +574,6 @@ api_register_module (PyObject *self, PyObject *args) ...@@ -574,7 +574,6 @@ api_register_module (PyObject *self, PyObject *args)
574 static PyObject * 574 static PyObject *
575 api_get_auth_by_name (PyObject *self, PyObject *args) 575 api_get_auth_by_name (PyObject *self, PyObject *args)
576 { 576 {
577 int status;
578 char *username; 577 char *username;
579 PyAuthData *py_ad = PyAuthData_NEW (); 578 PyAuthData *py_ad = PyAuthData_NEW ();
580 579
...@@ -593,7 +592,6 @@ api_get_auth_by_name (PyObject *self, PyObject *args) ...@@ -593,7 +592,6 @@ api_get_auth_by_name (PyObject *self, PyObject *args)
593 static PyObject * 592 static PyObject *
594 api_get_auth_by_uid (PyObject *self, PyObject *args) 593 api_get_auth_by_uid (PyObject *self, PyObject *args)
595 { 594 {
596 int status;
597 uid_t uid; 595 uid_t uid;
598 PyAuthData *py_ad = PyAuthData_NEW (); 596 PyAuthData *py_ad = PyAuthData_NEW ();
599 597
......
...@@ -111,7 +111,6 @@ static PyObject * ...@@ -111,7 +111,6 @@ static PyObject *
111 api_body_get_stream (PyObject *self, PyObject *args) 111 api_body_get_stream (PyObject *self, PyObject *args)
112 { 112 {
113 int status; 113 int status;
114 size_t lines;
115 PyBody *py_body; 114 PyBody *py_body;
116 PyStream *py_stm = PyStream_NEW (); 115 PyStream *py_stm = PyStream_NEW ();
117 116
......
...@@ -116,7 +116,6 @@ api_secret_destroy (PyObject *self, PyObject *args) ...@@ -116,7 +116,6 @@ api_secret_destroy (PyObject *self, PyObject *args)
116 static PyObject * 116 static PyObject *
117 api_secret_password (PyObject *self, PyObject *args) 117 api_secret_password (PyObject *self, PyObject *args)
118 { 118 {
119 int status;
120 const char *pass; 119 const char *pass;
121 PySecret *py_secret; 120 PySecret *py_secret;
122 121
......
...@@ -119,7 +119,6 @@ static PyObject * ...@@ -119,7 +119,6 @@ static PyObject *
119 api_stdio_stream_create (PyObject *self, PyObject *args) 119 api_stdio_stream_create (PyObject *self, PyObject *args)
120 { 120 {
121 int status, flags; 121 int status, flags;
122 char *filename;
123 FILE *fp; 122 FILE *fp;
124 PyStream *py_stm; 123 PyStream *py_stm;
125 PyFileObject *py_file; 124 PyFileObject *py_file;
......
...@@ -242,7 +242,6 @@ api_url_get_query (PyObject *self, PyObject *args) ...@@ -242,7 +242,6 @@ api_url_get_query (PyObject *self, PyObject *args)
242 static PyObject * 242 static PyObject *
243 api_url_to_string (PyObject *self, PyObject *args) 243 api_url_to_string (PyObject *self, PyObject *args)
244 { 244 {
245 int status;
246 const char *str; 245 const char *str;
247 PyUrl *py_url; 246 PyUrl *py_url;
248 247
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
25 static PyObject * 25 static PyObject *
26 api_util_get_user_email (PyObject *self, PyObject *args) 26 api_util_get_user_email (PyObject *self, PyObject *args)
27 { 27 {
28 int status;
29 char *name = NULL; 28 char *name = NULL;
30 char *email = NULL; 29 char *email = NULL;
31 30
......