mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 08:24:08 +01:00
Replace double semicolons with single; place null statement on its own line.
No functional change is intended.
This commit is contained in:
parent
43f45e81fb
commit
5ef68b1398
4 changed files with 5 additions and 4 deletions
|
@ -198,7 +198,7 @@ rb_helper_write_sendq(rb_fde_t *F, void *helper_ptr)
|
|||
if(rb_linebuf_len(&helper->sendq) > 0)
|
||||
{
|
||||
while((retlen = rb_linebuf_flush(F, &helper->sendq)) > 0)
|
||||
;;
|
||||
;
|
||||
if(retlen == 0 || (retlen < 0 && !rb_ignore_errno(errno)))
|
||||
{
|
||||
rb_helper_restart(helper);
|
||||
|
|
|
@ -191,7 +191,7 @@ rb_strnlen(const char *s, size_t count)
|
|||
{
|
||||
const char *sc;
|
||||
for(sc = s; count-- && *sc != '\0'; ++sc)
|
||||
;;
|
||||
;
|
||||
return sc - s;
|
||||
}
|
||||
#else
|
||||
|
|
|
@ -162,7 +162,7 @@ make_client(struct Client *from)
|
|||
|
||||
client_p->localClient->F = NULL;
|
||||
|
||||
client_p->preClient = rb_bh_alloc(pclient_heap);;
|
||||
client_p->preClient = rb_bh_alloc(pclient_heap);
|
||||
|
||||
/* as good a place as any... */
|
||||
rb_dlinkAdd(client_p, &client_p->localClient->tnode, &unknown_list);
|
||||
|
|
|
@ -259,7 +259,8 @@ match_esc(const char *mask, const char *name)
|
|||
return 1;
|
||||
if(quote)
|
||||
return 0;
|
||||
for(m--; (m > (const unsigned char *)mask) && (*m == '?'); m--);;
|
||||
for(m--; (m > (const unsigned char *)mask) && (*m == '?'); m--)
|
||||
;
|
||||
|
||||
if(*m == '*' && (m > (const unsigned char *)mask))
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue