[beast: 23/24] SFI: remove dead code



commit a333a55f30c8c1de08d6da265294a759074399c4
Author: Tim Janik <timj gnu org>
Date:   Thu Sep 24 10:41:28 2015 +0200

    SFI: remove dead code

 sfi/sfigluecodec.cc |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/sfi/sfigluecodec.cc b/sfi/sfigluecodec.cc
index 8b3fdfa..2f30014 100644
--- a/sfi/sfigluecodec.cc
+++ b/sfi/sfigluecodec.cc
@@ -121,15 +121,7 @@ encoder_process_message (SfiGlueEncoder *encoder,
            sfi_diag ("ignoring message with spurious return value");
          break;
        case SFI_GLUE_CODEC_ASYNC_MESSAGE:
-#if 0
-         if (seq->n_elements >= 4)
-           sfi_log_printf (sfi_seq_get_string (seq, 1),
-                            sfi_seq_get_int (seq, 2),
-                            SfiLogger (NULL, NULL, NULL),
-                            sfi_seq_get_string (seq, 3));
-         else
-#endif
-           sfi_diag ("ignoring message with invalid message contents");
+          sfi_diag ("ignoring message with invalid message contents");
          break;
        case SFI_GLUE_CODEC_ASYNC_EVENT:
          seq = seq->n_elements >= 2 ? sfi_seq_get_seq (seq, 1) : NULL;


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