Author: araujo (ports committer)
Date: Thu Jun  4 02:48:04 2015
New Revision: 283975
URL: https://svnweb.freebsd.org/changeset/base/283975

Log:
  Clean up unused variable and silence clang warnings.
  
  Differential Revision:        D2682
  Reviewed by:          rodrigc

Modified:
  head/lib/libdpv/dprompt.c

Modified: head/lib/libdpv/dprompt.c
==============================================================================
--- head/lib/libdpv/dprompt.c   Thu Jun  4 02:44:37 2015        (r283974)
+++ head/lib/libdpv/dprompt.c   Thu Jun  4 02:48:04 2015        (r283975)
@@ -391,7 +391,6 @@ dprompt_add_files(struct dpv_file_node *
        enum dprompt_state dstate;
        int estext_lsize;
        int estext_rsize;
-       int estext_size;
        int flabel_size;
        int hlen;
        int lsize;
@@ -559,13 +558,11 @@ dprompt_add_files(struct dpv_file_node *
                        bg_code = "\\Zr\\Z1"; /* Red */
                        estext_lsize = fail_lsize;
                        estext_rsize = fail_rsize;
-                       estext_size = fail_size;
                        estext = fail;
                } else { /* e.g., DPV_STATUS_DONE */
                        bg_code = "\\Zr\\Z2"; /* Green */
                        estext_lsize = done_lsize;
                        estext_rsize = done_rsize;
-                       estext_size = done_size;
                        estext = done;
                }
                switch (dstate) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to