Clean up unused variable and silence clang warnings.
Differential Revision: D2682 Reviewed by: rodrigc
This commit is contained in:
parent
da1259f032
commit
05ca4439a2
@ -391,7 +391,6 @@ dprompt_add_files(struct dpv_file_node *file_list,
|
||||
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 *file_list,
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user