]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
drop ident strings
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Oct 2019 07:55:37 +0000 (09:55 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Oct 2019 08:11:36 +0000 (10:11 +0200)
newt.c

diff --git a/newt.c b/newt.c
index da181a1377c9f8682ac63a87a20f7adb10224efb..7b58f1709bf61cf97c6fd710a3b8e0d11792411f 100644 (file)
--- a/newt.c
+++ b/newt.c
@@ -136,11 +136,6 @@ static const struct keymap keymap[] = {
 static void initKeymap();
 static void freeKeymap();
 
-static const char ident[] = // ident friendly
-    "$Version: Newt windowing library v" VERSION " $"
-    "$Copyright: (C) 1996-2003 Red Hat, Inc. Written by Erik Troan $"
-    "$License: Lesser GNU Public License. $";
-
 static newtSuspendCallback suspendCallback = NULL;
 static void * suspendCallbackData = NULL;
 
@@ -401,8 +396,6 @@ int newtInit(void) {
     if (strstr (lang, ".euc") != NULL)
        trashScreen = 1;
 
-    (void) strlen(ident);
-
     SLutf8_enable(-1);
     SLtt_get_terminfo();
     SLtt_get_screen_size();