[geary] Removed unused code, symbols



commit e96a8db41f969d3921f707e7caf1073979c2fd55
Author: Jim Nelson <jim yorba org>
Date:   Fri Oct 31 17:19:40 2014 -0700

    Removed unused code, symbols

 src/engine/imap/command/imap-message-set.vala |    2 --
 src/engine/util/util-string.vala              |   23 -----------------------
 2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/src/engine/imap/command/imap-message-set.vala b/src/engine/imap/command/imap-message-set.vala
index 44f6014..21497e2 100644
--- a/src/engine/imap/command/imap-message-set.vala
+++ b/src/engine/imap/command/imap-message-set.vala
@@ -4,8 +4,6 @@
  * (version 2.1 or later).  See the COPYING file in this distribution.
  */
 
-extern void qsort(void *base, size_t num, size_t size, CompareFunc compare_func);
-
 /**
  * A represenation of an IMAP message range specifier.
  *
diff --git a/src/engine/util/util-string.vala b/src/engine/util/util-string.vala
index 2450579..0d8c004 100644
--- a/src/engine/util/util-string.vala
+++ b/src/engine/util/util-string.vala
@@ -35,29 +35,6 @@ public bool stri_equal(string a, string b) {
     return str_equal(a.down(), b.down());
 }
 
-public string uint8_to_hex(uint8[] buffer) {
-    StringBuilder builder = new StringBuilder();
-    
-    bool first = true;
-    foreach (uint8 byte in buffer) {
-        if (!first)
-            builder.append_c(' ');
-        
-        builder.append_printf("%X", byte);
-        first = false;
-    }
-    
-    return builder.str;
-}
-
-public string uint8_to_string(uint8[] buffer) {
-    StringBuilder builder = new StringBuilder();
-    foreach (uint8 byte in buffer)
-        builder.append_printf("%c", (char) byte);
-    
-    return builder.str;
-}
-
 // Removes redundant spaces, tabs, and newlines.
 public string reduce_whitespace(string _s) {
     string s = _s;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]