Skip to content

Commit 79008fa

Browse files
author
Kevin Moloney
committed
Fix Klocwork#671: Infinite loop.
* Added comment to verify requirement for infinite loop. Signed-off-by: Kevin Moloney <[email protected]>
1 parent cfe0a5d commit 79008fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/libarc32_arduino101/framework/src/cfw/service_manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ void _cfw_loop(void * queue)
452452
{
453453
struct cfw_message * message;
454454
T_QUEUE_MESSAGE m;
455-
while (1) {
455+
while (1) { /* This infinite loop is intentional and requested by design */
456456
queue_get_message(queue, &m, OS_WAIT_FOREVER, NULL );
457457
message = (struct cfw_message *) m;
458458
if (message != NULL ) {

0 commit comments

Comments
 (0)