aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-30 09:50:16 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:22 +0100
commitcc16ae635d42789aaaf24444d0cd45cd824acebe (patch)
tree459423a4f63dc4759b2cf96b56c2e3add233e2ac
parent251563907aacadcc2e347d6b350a12f07fdfab27 (diff)
Fix return value for dummy set_affinity()
-rw-r--r--src/thread-pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread-pool.c b/src/thread-pool.c
index 8985ff94..c91c7002 100644
--- a/src/thread-pool.c
+++ b/src/thread-pool.c
@@ -78,7 +78,7 @@ static void set_affinity(int n, int cpu_num, int cpu_groupsize, int cpu_offset)
static void set_affinity(int n, int cpu_num, int cpu_groupsize, int cpu_offset)
{
- return 0;
+ /* Do absolutely nothing */
}
#endif /* HAVE_CPU_AFFINITY */