]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_list.c
Fix warnings all over citserver; handle function replies; remove unused code.
[citadel.git] / citadel / modules / imap / imap_list.c
index 49c19a6666407eae59206ed5af5e7a28165b3ed5..6dbbe6ebb9d25f5936f8d72008b43ff8738b1607 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 2000-2009 by Art Cancro and others.
  *
- *  This program is free software; you can redistribute it and/or modify
+ *  This program is open source software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
  *  (at your option) any later version.
@@ -195,7 +195,6 @@ void imap_list(int num_parms, ConstStr *Params)
        int selection_left = (-1);
        int selection_right = (-1);
        int return_left = (-1);
-       int return_right = (-1);
        int root_pos = 2;
        int patterns_left = 3;
        int patterns_right = 3;
@@ -388,7 +387,6 @@ void imap_list(int num_parms, ConstStr *Params)
                        }
 
                        if (paren_nest == 0) {
-                               return_right = i;       /* found end of patterns */
                                i = num_parms + 1;      /* break out of the loop */
                        }
                }