Changeset 2cfc6d7


Ignore:
Timestamp:
May 16, 2010, 1:45:40 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
c45e1eb
Parents:
20aced3
git-author:
David Benjamin <davidben@mit.edu> (05/16/10 01:43:02)
git-committer:
David Benjamin <davidben@mit.edu> (05/16/10 01:45:40)
Message:
Punt dead code paths and pointless bad-enum cases

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r7ba9e0de r2cfc6d7  
    19991999    pclose(p);
    20002000   
    2001     if (type == OWL_OUTPUT_POPUP) {
    2002       owl_function_popless_text(out);
    2003     } else if (type == OWL_OUTPUT_RETURN) {
     2001    if (type == OWL_OUTPUT_RETURN) {
    20042002      owl_free(newbuff);
    20052003      return out;
    20062004    } else if (type == OWL_OUTPUT_ADMINMSG) {
    20072005      owl_function_adminmsg(buff, out);
    2008     } else {
    2009       owl_function_popless_text(out);
    20102006    }
    20112007    owl_free(out);
     
    20402036    } else if (type == OWL_OUTPUT_RETURN) {
    20412037      return perlout;
    2042     } else {
    2043       owl_function_popless_text(perlout);
    20442038    }
    20452039    owl_free(perlout);
Note: See TracChangeset for help on using the changeset viewer.