]> git.ozlabs.org Git - ccan/commit
Fix HAVE_ASPRINTF detection
authorKamil <kamilcukrowski@gmail.com>
Fri, 6 Apr 2018 23:00:42 +0000 (01:00 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Apr 2018 23:00:42 +0000 (01:00 +0200)
commitfc8784e07e1daada5ff1a652098628f039a62850
treeca5f4736a3c7e118724c7bc887bc5ae42ccf9708
parent9bdb4be82879348fc3867a922445a4aa06ff8ffd
Fix HAVE_ASPRINTF detection

gcc6 introduceed a new warning switched with -Wmisleading-identation. This caused to generate a compilation warning for if statement misleadingly indented, which caused HAVE_ASPRINTF to be defined as 0. Adding newline after an if statement fixes the problem.
tools/configurator/configurator.c