mirror of
git://git.gnu.org.ua/wordsplit.git
synced 2025-04-26 00:29:54 +03:00
Remove unused variable
This commit is contained in:
parent
d650c4bfcc
commit
6e9ebcab71
1 changed files with 1 additions and 3 deletions
|
@ -703,7 +703,6 @@ expvar (struct wordsplit *wsp, const char *str, size_t len,
|
|||
struct wordsplit_node **ptail, const char **pend, int flg)
|
||||
{
|
||||
size_t i = 0;
|
||||
const char *defstr = NULL;
|
||||
const char *value;
|
||||
const char *vptr;
|
||||
struct wordsplit_node *newnode;
|
||||
|
@ -727,7 +726,7 @@ expvar (struct wordsplit *wsp, const char *str, size_t len,
|
|||
{
|
||||
size_t j;
|
||||
|
||||
defstr = str + i + 1;
|
||||
/* FIXME: default value ignored: str + i + 1; */
|
||||
if (find_closing_cbrace (str, i + 1, len, &j))
|
||||
{
|
||||
wsp->ws_errno = WRDSE_CBRACE;
|
||||
|
@ -737,7 +736,6 @@ expvar (struct wordsplit *wsp, const char *str, size_t len,
|
|||
}
|
||||
else if (str[i] == '}')
|
||||
{
|
||||
defstr = NULL;
|
||||
*pend = str + i;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue