Changeset 423adcb


Ignore:
Timestamp:
Mar 7, 2010, 10:28:24 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f8074e9
Parents:
66a8cd6
git-author:
Anders Kaseorg <andersk@mit.edu> (03/07/10 03:55:02)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:28:24)
Message:
owl_fmtext_get_colorpair: Remove unused variable default_bg.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r7ab0020 r423adcb  
    852852{
    853853  owl_colorpair_mgr *cpmgr;
    854   short pair, default_bg;
     854  short pair;
    855855
    856856  /* Sanity (Bounds) Check */
     
    860860#ifdef HAVE_USE_DEFAULT_COLORS
    861861  if (fg == OWL_COLOR_DEFAULT) fg = -1;
    862   default_bg = OWL_COLOR_DEFAULT;
    863862#else
    864863  if (fg == OWL_COLOR_DEFAULT) fg = 0;
    865864  if (bg == OWL_COLOR_DEFAULT) bg = 0;
    866   default_bg = COLOR_BLACK;
    867865#endif
    868866
Note: See TracChangeset for help on using the changeset viewer.