aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-10 05:00:43 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:03 +0200
commit585ce41a3647bff2a17f42fbdf4223a92ab81413 (patch)
tree0203eaa9b5a4861aa98cc79933fce5227797ddf5
parent4b4553e62a8e983ad89f5d6cea7eedd158372a20 (diff)
downloadffwd-585ce41a3647bff2a17f42fbdf4223a92ab81413.tar.gz
ffwd-585ce41a3647bff2a17f42fbdf4223a92ab81413.zip
server: fix unused-rc warning in plain BLAS builds
-rw-r--r--pplx_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pplx_server.c b/pplx_server.c
index 9df4d5b..6e7bb22 100644
--- a/pplx_server.c
+++ b/pplx_server.c
@@ -1981,9 +1981,9 @@ static void process_job_group(http_server *s, job **jobs, int n_jobs) {
static void *worker_main(void *arg) {
http_server *s = arg;
- int rc = 0;
#ifdef USE_MLX
if (s->use_mlx) {
+ int rc = 0;
for (int i = 0; i < 4; i++) {
loaded_model *m = &s->models[i];
if (!m->info) continue;
@@ -2026,6 +2026,7 @@ static void *worker_main(void *arg) {
#endif
#ifdef USE_CUDA
if (s->use_cuda) {
+ int rc = 0;
for (int i = 0; i < 4; i++) {
loaded_model *m = &s->models[i];
if (!m->info) continue;