The maintainer-makefile gnulib module provides some more make targets, useful for the maintainership of the package.
One of the targets is 'syntax-check'. It performs a check of common pitfalls on the source code and GCS conformance.
Please do a make syntax-check before to send a patch, or alternatively use the Patch Safety Dispatcher (see the next section).