diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-15 23:16:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-16 10:50:05 +0800 |
commit | cae22334fa6bc395ccc421b09e0af94c89297c41 (patch) | |
tree | 84881f467c0448db044d8bb3533e044a7152bb2b /composer | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'composer')
-rw-r--r-- | composer/e-msg-composer.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index b09b18180e..bdac5d44ab 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2241,22 +2241,14 @@ e_msg_composer_set_pending_body (EMsgComposer *composer, g_object_set_data_full ( G_OBJECT (composer), "body:text", text, (GDestroyNotify) g_free); - - g_object_set_data ( - G_OBJECT (composer), "body:length", - GSIZE_TO_POINTER (length)); } static void e_msg_composer_flush_pending_body (EMsgComposer *composer) { const gchar *body; - gpointer data; - gssize length; body = g_object_get_data (G_OBJECT (composer), "body:text"); - data = g_object_get_data (G_OBJECT (composer), "body:length"); - length = GPOINTER_TO_SIZE (data); if (body != NULL) set_editor_text (composer, body, FALSE); @@ -3749,13 +3741,11 @@ void e_msg_composer_show_sig_file (EMsgComposer *composer) { GtkhtmlEditor *editor; - GtkHTML *html; gchar *html_text; g_return_if_fail (E_IS_MSG_COMPOSER (composer)); editor = GTKHTML_EDITOR (composer); - html = gtkhtml_editor_get_html (editor); if (composer->priv->redirect) return; |