X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-nevents-str%2Fgen-ust-nevents-str.c;h=d68501bee553406e00b2cb8f78a673a231493067;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=904991a4d40cf055cfa8340c3d718c9854091a2e;hpb=95983a02c557a99506716fc2c28f74be37def2b3;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-nevents-str/gen-ust-nevents-str.c b/tests/utils/testapp/gen-ust-nevents-str/gen-ust-nevents-str.c index 904991a4d..d68501bee 100644 --- a/tests/utils/testapp/gen-ust-nevents-str/gen-ust-nevents-str.c +++ b/tests/utils/testapp/gen-ust-nevents-str/gen-ust-nevents-str.c @@ -1,18 +1,8 @@ /* - * Copyright (C) - 2017 Philippe Proulx + * Copyright (C) 2017 Philippe Proulx * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by the - * Free Software Foundation; version 2.1 of the License. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #define _LGPL_SOURCE @@ -24,9 +14,7 @@ int main(int argc, char **argv) { - int count; - int i; - int arg_i; + int count = 0, i = 0, arg_i = 0; if (set_signal_handler()) { return 1;