HomeClusterLabs Projects

Low: libcrmcommon: Initialize some variables

Description

Low: libcrmcommon: Initialize some variables

Cppcheck complained about these. There's no point in spending much
effort on iso8601.c until we start the "replace iso8601.c with GLib"
project, but this is easy enough.

Also avoid a variable-length array and fix a harmless off-by-one (we
don't need max + 1 for array size).

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 20 2024, 8:36 PM
Parents
rP6094210ffa8d: Merge pull request #3392 from bixiaoyan1/main
Branches
Unknown
Tags
Unknown