From 43d7245c20930161284e5784fbf115d1221a5951 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 18:08:24 +0100 Subject: [PATCH] perl plugin: mark file variable as const --- src/perl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/perl.c b/src/perl.c index c25bfe89..36c1e267 100644 --- a/src/perl.c +++ b/src/perl.c @@ -2179,9 +2179,9 @@ static MGVTBL g_interval_vtbl = { /* bootstrap the Collectd module */ static void xs_init (pTHX) { - HV *stash = NULL; - SV *tmp = NULL; - char *file = __FILE__; + HV *stash = NULL; + SV *tmp = NULL; + const char *file = __FILE__; int i = 0; -- 2.30.2