From cf42133127f97f24be4e3b16bef122c508c1f81a Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 30 Jun 2020 16:35:09 -0400 Subject: [PATCH] chore: add explicit curly braces --- runtime/include/worker_thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/include/worker_thread.h b/runtime/include/worker_thread.h index a2df722..3a67c7e 100644 --- a/runtime/include/worker_thread.h +++ b/runtime/include/worker_thread.h @@ -41,8 +41,9 @@ static inline char * worker_thread_get_memory_string(u32 offset, u32 max_length) { for (int i = 0; i < max_length; i++) { - if (worker_thread_get_memory_character(offset + i) == '\0') + if (worker_thread_get_memory_character(offset + i) == '\0') { return worker_thread_get_memory_ptr_void(offset, 1); + } } return NULL; }