remove extra semicolons

This commit is contained in:
Daniel Agar 2017-06-04 12:22:33 -04:00
parent 9043459c7b
commit ecab40da6a
No known key found for this signature in database
GPG Key ID: FD3CBA98017A69DE
10 changed files with 18 additions and 18 deletions

View File

@ -104,12 +104,12 @@ int main(int argc, char **argv)
// Tell MyThingSayer that "Hello, World!" is the string to be said // 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!"); MyThingSayer->Initialize("Hello, World!");
// Tell MyThingSayer to say the thing we told it to say // 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(); MyThingSayer->SayThing();
// We should see the message from the destructor, // We should see the message from the destructor,
@ -118,6 +118,6 @@ int main(int argc, char **argv)
printf("main: Destroying MyThingSayer\n"); printf("main: Destroying MyThingSayer\n");
delete MyThingSayer; delete MyThingSayer;
printf("main: Returning\n");; printf("main: Returning\n");
return 0; return 0;
} }

View File

@ -114,12 +114,12 @@ int main(int argc, char **argv)
// Tell MyThingSayer that "Hello, World!" is the string to be said // 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!"); MyThingSayer.Initialize("Hello, World!");
// Tell MyThingSayer to say the thing we told it to say // 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(); MyThingSayer.SayThing();
// We are finished, return. We should see the message from the // 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 // message. That is proof that the C++ static destructor logic
// is working // is working
printf("main: Returning. MyThingSayer should be destroyed\n");; printf("main: Returning. MyThingSayer should be destroyed\n");
return 0; return 0;
} }

View File

@ -800,7 +800,7 @@ static void ltdc_dma2d_fillarea(void)
active->vinfo.xres, active->vinfo.yres, active->vinfo.xres, active->vinfo.yres,
ltdc_color(&active->vinfo, LTDC_BLACK)); ltdc_color(&active->vinfo, LTDC_BLACK));
area.xpos = active->vinfo.xres/2;; area.xpos = active->vinfo.xres/2;
area.ypos = active->vinfo.yres/2; area.ypos = active->vinfo.yres/2;
active->layer->fillarea(active->layer, &area, active->layer->fillarea(active->layer, &area,

View File

@ -1730,7 +1730,7 @@ FAR struct fb_cmap_s * ltdc_createcmap(uint16_t ncolors)
{ {
_err("ERROR: malloc() failed\n"); _err("ERROR: malloc() failed\n");
free(cmap); free(cmap);
return NULL;; return NULL;
} }
#ifdef CONFIG_FB_TRANSPARENCY #ifdef CONFIG_FB_TRANSPARENCY

View File

@ -104,12 +104,12 @@ int main(int argc, char **argv)
// Tell MyThingSayer that "Hello, World!" is the string to be said // 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!"); MyThingSayer->Initialize("Hello, World!");
// Tell MyThingSayer to say the thing we told it to say // 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(); MyThingSayer->SayThing();
// We should see the message from the destructor, // We should see the message from the destructor,
@ -118,6 +118,6 @@ int main(int argc, char **argv)
printf("main: Destroying MyThingSayer\n"); printf("main: Destroying MyThingSayer\n");
delete MyThingSayer; delete MyThingSayer;
printf("main: Returning\n");; printf("main: Returning\n");
return 0; return 0;
} }

View File

@ -114,12 +114,12 @@ int main(int argc, char **argv)
// Tell MyThingSayer that "Hello, World!" is the string to be said // 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!"); MyThingSayer.Initialize("Hello, World!");
// Tell MyThingSayer to say the thing we told it to say // 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(); MyThingSayer.SayThing();
// We are finished, return. We should see the message from the // 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 // message. That is proof that the C++ static destructor logic
// is working // is working
printf("main: Returning. MyThingSayer should be destroyed\n");; printf("main: Returning. MyThingSayer should be destroyed\n");
return 0; return 0;
} }

View File

@ -131,7 +131,7 @@ void recv_server(void)
#else #else
server.sin_family = AF_INET; server.sin_family = AF_INET;
server.sin_port = HTONS(PORTNO); 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); addrlen = sizeof(struct sockaddr_in);
#endif #endif

View File

@ -420,7 +420,7 @@ bool xMBASCIIReceiveFSM(void)
/* Reset the input buffers to store the frame. */ /* Reset the input buffers to store the frame. */
usRcvBufferPos = 0;; usRcvBufferPos = 0;
eBytePos = BYTE_HIGH_NIBBLE; eBytePos = BYTE_HIGH_NIBBLE;
eRcvState = STATE_RX_RCV; eRcvState = STATE_RX_RCV;
} }

View File

@ -144,7 +144,7 @@ eMBException eMBFuncReadCoils(uint8_t *pucFrame, uint16_t *usLen)
* buffer because they are still valid. * buffer because they are still valid.
*/ */
*usLen += ucNBytes;; *usLen += ucNBytes;
} }
} }
else else

View File

@ -131,7 +131,7 @@ eMBException eMBFuncReadDiscreteInputs(uint8_t *pucFrame, uint16_t *usLen)
* buffer because they are still valid. * buffer because they are still valid.
*/ */
*usLen += ucNBytes;; *usLen += ucNBytes;
} }
} }
else else