diff options
author | Mengjie Yu <meng-jie.yu@sun.com> | 2005-07-29 12:39:25 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-07-29 12:39:25 +0800 |
commit | 484ab15780176ecf1b4e34400ebb9664b1cf8b0d (patch) | |
tree | 2db3b9a103f67ffe7e8df898267e979360c10306 /widgets/misc | |
parent | c2dc17d84ba158d2660e7b129594d65557c70881 (diff) | |
download | gsoc2013-evolution-484ab15780176ecf1b4e34400ebb9664b1cf8b0d.tar.gz gsoc2013-evolution-484ab15780176ecf1b4e34400ebb9664b1cf8b0d.tar.zst gsoc2013-evolution-484ab15780176ecf1b4e34400ebb9664b1cf8b0d.zip |
Void function should not return value.
2005-07-28 Mengjie Yu <meng-jie.yu@sun.com>
* misc/e-attachment-bar.c: (update_remote_file):
Void function should not return value.
Fixes #311837
svn path=/trunk/; revision=29924
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-attachment-bar.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c index 024d5bd8c7..c403285cca 100644 --- a/widgets/misc/e-attachment-bar.c +++ b/widgets/misc/e-attachment-bar.c @@ -419,8 +419,10 @@ update_remote_file (EAttachment *attachment, EAttachmentBar *bar) char *msg, *base; priv = bar->priv; - if (attachment->percentage == -1) - return update (bar); + if (attachment->percentage == -1) { + update (bar); + return; + } base = g_path_get_basename(attachment->file_name); msg = g_strdup_printf("%s (%d\%)", base, attachment->percentage); |