1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00
Introduced a regression with commit
6994caa18b by getting too happy with
OpenMP.
This commit is contained in:
Brenden Matthews 2009-06-06 03:56:22 -06:00
parent 384a41cb6e
commit 22733a0b4a

View File

@ -7194,9 +7194,6 @@ static void clean_up(void)
#endif /* X11 */ #endif /* X11 */
#ifdef HAVE_OPENMP
#pragma omp parallel for
#endif /* HAVE_OPENMP */
for (i = 0; i < MAX_TEMPLATES; i++) { for (i = 0; i < MAX_TEMPLATES; i++) {
if (template[i]) { if (template[i]) {
free(template[i]); free(template[i]);
@ -7387,9 +7384,6 @@ static void set_default_configurations(void)
info.x11.monitor.current = 0; info.x11.monitor.current = 0;
#endif /* X11 */ #endif /* X11 */
#ifdef HAVE_OPENMP
#pragma omp parallel for
#endif /* HAVE_OPENMP */
for (i = 0; i < MAX_TEMPLATES; i++) { for (i = 0; i < MAX_TEMPLATES; i++) {
template[i] = strdup(""); template[i] = strdup("");
} }