diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-13 17:52:18 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-13 17:52:18 -0800 |
commit | d672ac3c611453c624948ed8cc2ced65cadc3400 (patch) | |
tree | a5b52d6ff15caf0a755cc0729d29474a5ae4a6a3 /src/xfns.c | |
parent | ff6ec81d6dd564080d8407c0a0eae36461b3b75d (diff) |
Prefer tail calls.
* lib-src/ebrowse.c (xstrdup):
* lib-src/etags.c (savenstr):
* lwlib/lwlib.c (safe_strdup):
* src/xfns.c (xic_create_fontsetname):
* src/xrdb.c (gethomedir): Prefer tail calls.
* lib-src/etags.c (concat): Omit unnecessary assignment.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 42e7c2eeec..46f377042f 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1750,7 +1750,7 @@ xic_create_fontsetname (const char *base_fontname, int motif) } } if (motif) - strcat (fontsetname, ":"); + return strcat (fontsetname, ":"); return fontsetname; } #endif /* HAVE_X_WINDOWS && USE_X_TOOLKIT */ |