[asterisk-commits] rmudgett: branch rmudgett/external_mwi r403700 - /team/rmudgett/external_mwi/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 11 18:53:38 CST 2013
Author: rmudgett
Date: Wed Dec 11 18:53:36 2013
New Revision: 403700
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=403700
Log:
res_mwi_external: Remove some redundant checks.
Modified:
team/rmudgett/external_mwi/res/res_mwi_external.c
Modified: team/rmudgett/external_mwi/res/res_mwi_external.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/external_mwi/res/res_mwi_external.c?view=diff&rev=403700&r1=403699&r2=403700
==============================================================================
--- team/rmudgett/external_mwi/res/res_mwi_external.c (original)
+++ team/rmudgett/external_mwi/res/res_mwi_external.c Wed Dec 11 18:53:36 2013
@@ -432,10 +432,6 @@
const struct ast_mwi_mailbox_object *mailbox;
int num_msgs;
- if (ast_strlen_zero(mailbox_id)) {
- continue;
- }
-
/* Get the specified mailbox. */
mailbox = ast_mwi_mailbox_get(mailbox_id);
if (!mailbox) {
@@ -495,10 +491,6 @@
while ((mailbox_id = strsep(&parse, ", "))) {
const struct ast_mwi_mailbox_object *mailbox;
- if (ast_strlen_zero(mailbox_id)) {
- continue;
- }
-
/* Get the specified mailbox. */
mailbox = ast_mwi_mailbox_get(mailbox_id);
if (!mailbox) {
More information about the asterisk-commits
mailing list