Skip to content

Commit

Permalink
remove extra semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jun 4, 2017
1 parent 9043459 commit ecab40d
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions examples/elf/tests/helloxx/hello++2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
}
6 changes: 3 additions & 3 deletions examples/elf/tests/helloxx/hello++3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ 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
// destructor, CThingSayer::~CThingSayer(), AFTER we see the following
// 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;
}
2 changes: 1 addition & 1 deletion examples/ltdc/dma2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion examples/ltdc/ltdc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions examples/nxflat/tests/hello++/hello++2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
}
6 changes: 3 additions & 3 deletions examples/nxflat/tests/hello++/hello++3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ 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
// destructor, CThingSayer::~CThingSayer(), AFTER we see the following
// 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;
}
2 changes: 1 addition & 1 deletion examples/udp/udp-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modbus/ascii/mbascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion modbus/functions/mbfunccoils.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ eMBException eMBFuncReadCoils(uint8_t *pucFrame, uint16_t *usLen)
* buffer because they are still valid.
*/

*usLen += ucNBytes;;
*usLen += ucNBytes;
}
}
else
Expand Down
2 changes: 1 addition & 1 deletion modbus/functions/mbfuncdisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ eMBException eMBFuncReadDiscreteInputs(uint8_t *pucFrame, uint16_t *usLen)
* buffer because they are still valid.
*/

*usLen += ucNBytes;;
*usLen += ucNBytes;
}
}
else
Expand Down

0 comments on commit ecab40d

Please sign in to comment.