Merged in dagar/apps/extra_semi (pull request #87)
remove extra semicolons Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
b3ab834d15
@ -104,12 +104,12 @@ int main(int argc, char **argv)
|
||||
|
||||
// Tell MyThingSayer that "Hello, World!" is the string to be said
|
||||
|
||||
printf("main: Calling MyThingSayer->Initialize\n");;
|
||||
printf("main: Calling MyThingSayer->Initialize\n");
|
||||
MyThingSayer->Initialize("Hello, World!");
|
||||
|
||||
// Tell MyThingSayer to say the thing we told it to say
|
||||
|
||||
printf("main: Calling MyThingSayer->SayThing\n");;
|
||||
printf("main: Calling MyThingSayer->SayThing\n");
|
||||
MyThingSayer->SayThing();
|
||||
|
||||
// We should see the message from the destructor,
|
||||
@ -118,6 +118,6 @@ int main(int argc, char **argv)
|
||||
printf("main: Destroying MyThingSayer\n");
|
||||
delete MyThingSayer;
|
||||
|
||||
printf("main: Returning\n");;
|
||||
printf("main: Returning\n");
|
||||
return 0;
|
||||
}
|
||||
|
@ -114,12 +114,12 @@ int main(int argc, char **argv)
|
||||
|
||||
// Tell MyThingSayer that "Hello, World!" is the string to be said
|
||||
|
||||
printf("main: Calling MyThingSayer.Initialize\n");;
|
||||
printf("main: Calling MyThingSayer.Initialize\n");
|
||||
MyThingSayer.Initialize("Hello, World!");
|
||||
|
||||
// Tell MyThingSayer to say the thing we told it to say
|
||||
|
||||
printf("main: Calling MyThingSayer.SayThing\n");;
|
||||
printf("main: Calling MyThingSayer.SayThing\n");
|
||||
MyThingSayer.SayThing();
|
||||
|
||||
// We are finished, return. We should see the message from the
|
||||
@ -127,6 +127,6 @@ int main(int argc, char **argv)
|
||||
// message. That is proof that the C++ static destructor logic
|
||||
// is working
|
||||
|
||||
printf("main: Returning. MyThingSayer should be destroyed\n");;
|
||||
printf("main: Returning. MyThingSayer should be destroyed\n");
|
||||
return 0;
|
||||
}
|
||||
|
@ -800,7 +800,7 @@ static void ltdc_dma2d_fillarea(void)
|
||||
active->vinfo.xres, active->vinfo.yres,
|
||||
ltdc_color(&active->vinfo, LTDC_BLACK));
|
||||
|
||||
area.xpos = active->vinfo.xres/2;;
|
||||
area.xpos = active->vinfo.xres/2;
|
||||
area.ypos = active->vinfo.yres/2;
|
||||
|
||||
active->layer->fillarea(active->layer, &area,
|
||||
|
@ -1730,7 +1730,7 @@ FAR struct fb_cmap_s * ltdc_createcmap(uint16_t ncolors)
|
||||
{
|
||||
_err("ERROR: malloc() failed\n");
|
||||
free(cmap);
|
||||
return NULL;;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FB_TRANSPARENCY
|
||||
|
@ -104,12 +104,12 @@ int main(int argc, char **argv)
|
||||
|
||||
// Tell MyThingSayer that "Hello, World!" is the string to be said
|
||||
|
||||
printf("main: Calling MyThingSayer->Initialize\n");;
|
||||
printf("main: Calling MyThingSayer->Initialize\n");
|
||||
MyThingSayer->Initialize("Hello, World!");
|
||||
|
||||
// Tell MyThingSayer to say the thing we told it to say
|
||||
|
||||
printf("main: Calling MyThingSayer->SayThing\n");;
|
||||
printf("main: Calling MyThingSayer->SayThing\n");
|
||||
MyThingSayer->SayThing();
|
||||
|
||||
// We should see the message from the destructor,
|
||||
@ -118,6 +118,6 @@ int main(int argc, char **argv)
|
||||
printf("main: Destroying MyThingSayer\n");
|
||||
delete MyThingSayer;
|
||||
|
||||
printf("main: Returning\n");;
|
||||
printf("main: Returning\n");
|
||||
return 0;
|
||||
}
|
||||
|
@ -114,12 +114,12 @@ int main(int argc, char **argv)
|
||||
|
||||
// Tell MyThingSayer that "Hello, World!" is the string to be said
|
||||
|
||||
printf("main: Calling MyThingSayer.Initialize\n");;
|
||||
printf("main: Calling MyThingSayer.Initialize\n");
|
||||
MyThingSayer.Initialize("Hello, World!");
|
||||
|
||||
// Tell MyThingSayer to say the thing we told it to say
|
||||
|
||||
printf("main: Calling MyThingSayer.SayThing\n");;
|
||||
printf("main: Calling MyThingSayer.SayThing\n");
|
||||
MyThingSayer.SayThing();
|
||||
|
||||
// We are finished, return. We should see the message from the
|
||||
@ -127,6 +127,6 @@ int main(int argc, char **argv)
|
||||
// message. That is proof that the C++ static destructor logic
|
||||
// is working
|
||||
|
||||
printf("main: Returning. MyThingSayer should be destroyed\n");;
|
||||
printf("main: Returning. MyThingSayer should be destroyed\n");
|
||||
return 0;
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ void recv_server(void)
|
||||
#else
|
||||
server.sin_family = AF_INET;
|
||||
server.sin_port = HTONS(PORTNO);
|
||||
server.sin_addr.s_addr = HTONL(INADDR_ANY);;
|
||||
server.sin_addr.s_addr = HTONL(INADDR_ANY);
|
||||
|
||||
addrlen = sizeof(struct sockaddr_in);
|
||||
#endif
|
||||
|
@ -420,7 +420,7 @@ bool xMBASCIIReceiveFSM(void)
|
||||
|
||||
/* Reset the input buffers to store the frame. */
|
||||
|
||||
usRcvBufferPos = 0;;
|
||||
usRcvBufferPos = 0;
|
||||
eBytePos = BYTE_HIGH_NIBBLE;
|
||||
eRcvState = STATE_RX_RCV;
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ eMBException eMBFuncReadCoils(uint8_t *pucFrame, uint16_t *usLen)
|
||||
* buffer because they are still valid.
|
||||
*/
|
||||
|
||||
*usLen += ucNBytes;;
|
||||
*usLen += ucNBytes;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -131,7 +131,7 @@ eMBException eMBFuncReadDiscreteInputs(uint8_t *pucFrame, uint16_t *usLen)
|
||||
* buffer because they are still valid.
|
||||
*/
|
||||
|
||||
*usLen += ucNBytes;;
|
||||
*usLen += ucNBytes;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user