mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-13 19:22:58 +00:00
Make it possible to compile without C99
This commit is contained in:
parent
5388fc33f6
commit
1085ec48cc
@ -7316,7 +7316,8 @@ static void set_default_configurations(void)
|
|||||||
#ifdef HAVE_OPENMP
|
#ifdef HAVE_OPENMP
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
#endif /* HAVE_OPENMP */
|
#endif /* HAVE_OPENMP */
|
||||||
for (int i = 0; i < MAX_TEMPLATES; i++) {
|
int i;
|
||||||
|
for (i = 0; i < MAX_TEMPLATES; i++) {
|
||||||
template[i] = strdup("");
|
template[i] = strdup("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user