diff --git a/userspace/libwr/shmem.c b/userspace/libwr/shmem.c index 93b191c05a6ae62d785a61f5eda2fecd1715fb76..df47ee7b78b6c9d0a0d1a94ad99663a26ec4bf99 100644 --- a/userspace/libwr/shmem.c +++ b/userspace/libwr/shmem.c @@ -216,6 +216,10 @@ void wrs_shm_write_caller(struct wrs_shm_head *head, int flags, if (flags == WRS_SHM_WRITE_END) { msg = "write end"; } + + /* if pr_debug() is empty, we'd have "unused variable" */ + (void) *msg; + pr_debug("caller of a function wrs_shm_write is %s, called for \"%s\" " "with the flag \"%s\"\n", caller, head->name, msg); diff --git a/userspace/ppsi b/userspace/ppsi index 531b5134b4ac31c4818230bccb3d77691bca92af..4e0caa4643bb809e1b2a53379aac1af7d9a3dc44 160000 --- a/userspace/ppsi +++ b/userspace/ppsi @@ -1 +1 @@ -Subproject commit 531b5134b4ac31c4818230bccb3d77691bca92af +Subproject commit 4e0caa4643bb809e1b2a53379aac1af7d9a3dc44