1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-13 11:15:27 +00:00

Make it possible to compile without C99

This commit is contained in:
Nikolas Garofil 2009-06-03 18:24:48 +02:00
parent 5388fc33f6
commit 1085ec48cc

View File

@ -7316,7 +7316,8 @@ static void set_default_configurations(void)
#ifdef HAVE_OPENMP
#pragma omp parallel for
#endif /* HAVE_OPENMP */
for (int i = 0; i < MAX_TEMPLATES; i++) {
int i;
for (i = 0; i < MAX_TEMPLATES; i++) {
template[i] = strdup("");
}