get rid of INLINE_FILE_TAG constant

Now that the whole inline logic has been converted to using bool flags,
the INLINE_FILE_TAG constant is not useful anymore.

Get rid of the constant as it's now unused and to prevent any future
developer from mistakenly use it again.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200508212356.18522-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19863.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
Antonio Quartulli 2020-05-08 23:23:56 +02:00 committed by Gert Doering
parent d7e26a3431
commit 27ad978fd6
2 changed files with 1 additions and 7 deletions

View File

@ -88,12 +88,6 @@ typedef unsigned long ptr_type;
*/
#define PUSH_REQUEST_INTERVAL 5
/*
* A sort of pseudo-filename for data provided inline within
* the configuration file.
*/
#define INLINE_FILE_TAG "[[INLINE]]"
/*
* Script security warning
*/

View File

@ -1189,7 +1189,7 @@ print_key_filename(const char *str, bool is_inline)
{
if (is_inline)
{
return INLINE_FILE_TAG;
return "[[INLINE]]";
}
return np(str);