mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 14:28:07 +00:00
lib: Remove unnecessary XSTRDUP
yy_scan_string duplicates its input Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
e52c05cd80
commit
fe3936ecf5
@ -66,7 +66,7 @@ RANGE \({NUMBER}[ ]?\-[ ]?{NUMBER}\)
|
||||
void
|
||||
set_lexer_string (const char *string)
|
||||
{
|
||||
buffer = yy_scan_string (XSTRDUP(MTYPE_TMP, string));
|
||||
buffer = yy_scan_string (string);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user