mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Fix 6994caa18b
.
Introduced a regression with commit
6994caa18b
by getting too happy with
OpenMP.
This commit is contained in:
parent
384a41cb6e
commit
22733a0b4a
@ -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("");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user