Changeset c4b13341984038de842402b66aa48c0852c1c4a1

Show
Ignore:
Timestamp:
05/26/10 01:26:30 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1274837190 +0000
git-parent:

[c69f95542535206a12991568a23da40c07ad8fab]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1274837190 +0000
Message:

dead assignments, refs #283

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noitedit/el.c

    re06b23e rc4b1334  
    268268 
    269269                default: 
    270                         rv = -1; 
    271270                        EL_ABORT((el->el_errfile, "Bad op %d\n", op)); 
    272271                        break; 
  • src/noitedit/read.c

    r83ae07d rc4b1334  
    220220{ 
    221221        el_action_t cmd = ED_UNASSIGNED; 
    222         int num; 
    223222 
    224223        while (cmd == ED_UNASSIGNED || cmd == ED_SEQUENCE_LEAD_IN) { 
    225                 if ((num = el_getc(el, ch)) != 1) {   /* if EOF or error */ 
     224                if (el_getc(el, ch) != 1) {   /* if EOF or error */ 
    226225                        /* So solaris doesn't read -> -1 with EAGAIN when 
    227226                         * no data is ready on the terminal.. it returns 0.