code cleanup encase ;; in brackets {;;}
Change-Id: I253e19695709b4184ceb4a0748300f7c68437c1c
This commit is contained in:
parent
da97524252
commit
aad15d5cd7
|
@ -48,7 +48,7 @@ static size_t check_sentinel(void* buf, size_t size)
|
|||
{
|
||||
unused++;
|
||||
while(++i < sz && b[i] == SENTINEL(i) && ++unused)
|
||||
;;
|
||||
{;;}
|
||||
}
|
||||
return unused * sizeof(sentinel);
|
||||
}
|
||||
|
|
|
@ -571,7 +571,7 @@ static bool confirm_quit(void)
|
|||
{ (const char*[]) {"Quit?", "Progress will be lost"}, 2};
|
||||
enum yesno_res response = rb->gui_syncyesno_run(&prompt, NULL, NULL);
|
||||
while (rb->button_get(false) == BUTTON_NONE)
|
||||
;;
|
||||
{;;}
|
||||
|
||||
if(response == YESNO_NO)
|
||||
return false;
|
||||
|
@ -2286,7 +2286,7 @@ static bool free_slide_prio(int prio)
|
|||
static void free_all_slide_prio(int prio)
|
||||
{
|
||||
while (free_slide_prio(prio))
|
||||
;;
|
||||
{;;}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -245,7 +245,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
#endif
|
||||
rb->button_clear_queue();
|
||||
while(rb->button_get(true) <= BUTTON_NONE)
|
||||
;;
|
||||
{;;}
|
||||
|
||||
rb->button_get(true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue