Ignore:
Timestamp:
2018-04-12T12:57:20Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bacee1
Parents:
9c514be
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
Message:

Use proper boolean constant in while loops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/mouse/mousedev.c

    r9c514be r76d0981d  
    4343#include <errno.h>
    4444#include <async.h>
     45#include <stdbool.h>
    4546#include <str_error.h>
    4647#include <ipc/mouseev.h>
     
    299300
    300301        /* Break from within. */
    301         while (1) {
     302        while (true) {
    302303                field = usb_hid_report_get_sibling(
    303304                    report, field, path,
Note: See TracChangeset for help on using the changeset viewer.