mirror of
https://github.com/LukeSmithxyz/st.git
synced 2025-04-04 18:41:08 +02:00
Merge 39fcdffcfa
into 36d225d71d
This commit is contained in:
commit
d5eb05da88
1 changed files with 0 additions and 2 deletions
2
st.c
2
st.c
|
@ -280,8 +280,6 @@ xrealloc(void *p, size_t len)
|
||||||
char *
|
char *
|
||||||
xstrdup(const char *s)
|
xstrdup(const char *s)
|
||||||
{
|
{
|
||||||
if ((s = strdup(s)) == NULL)
|
|
||||||
die("strdup: %s\n", strerror(errno));
|
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
if ((p = strdup(s)) == NULL)
|
if ((p = strdup(s)) == NULL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue