summaryrefslogtreecommitdiff
path: root/main/editline/np/strlcpy.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-03-28 12:56:12 +0000
committerMatthew Jordan <mjordan@digium.com>2015-03-28 12:56:12 +0000
commite126ab9eebc6db005df31280ff8e596ba6562426 (patch)
tree5ee1c638202c8f73edacca0944cb107bf2e1d65d /main/editline/np/strlcpy.c
parent2f6534527deef4dcc40001b93601761cf643a7c4 (diff)
clang compiler warnings: Fix a variety of "unused" warnings
This patch fixes the -Wunused-value -Wunused-variable -Wunused-const-variable errors caught by clang. Specifically: * apps/app_queue.c: removed unused qpm_cmd_usage[], qum_cmd_usage[], qsmp_cmd_usage[] * cel/cel_sqlite3_custom.c: removed unused name[] = "cel_sqlite3_custom" * channels/chan_pjsip.c: removed unused desc[] = "PJSIP Channel" * codecs/gsm/src/gsm_create.c: removed unused ident[] = "$Header$" * funcs/func_env.c:729: Fixed ast_str_append_substr. * main/editline/np/strlcat.c: removed unused rcsid variable * main/editline/np/strlcpy.c: removed unused rcsid variable * main/security_events.c: removed unused TIMESTAMP_STR_LEN * utils/conf2ael.c: removed unused cfextension_states * utils/extconf.c: removed unused cfextension_states Review: https://reviewboard.asterisk.org/r/4526 ASTERISK-24917 Reported by: dkdegroot patches: rb4526.patch submitted by dkdegroot (License 6600) ........ Merged revisions 433693 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/editline/np/strlcpy.c')
-rw-r--r--main/editline/np/strlcpy.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/main/editline/np/strlcpy.c b/main/editline/np/strlcpy.c
index 1f154bcf2..ecad62b49 100644
--- a/main/editline/np/strlcpy.c
+++ b/main/editline/np/strlcpy.c
@@ -28,16 +28,6 @@
*/
#include "config.h"
-#if defined(LIBC_SCCS) && !defined(lint)
-#if 0
-static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $";
-#endif
-#endif /* LIBC_SCCS and not lint */
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD: src/lib/libc/string/strlcpy.c,v 1.2.4.1 2001/07/09 23:30:06 obrien Exp $";
-#endif
-
#include <sys/types.h>
#include <string.h>