Remove whitespace that occurs before ')'.
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -273,7 +273,7 @@ static const char* tap_state_svf_name(tap_state_t state)
|
||||
{
|
||||
const char* ret;
|
||||
|
||||
switch (state )
|
||||
switch (state)
|
||||
{
|
||||
case TAP_RESET: ret = "RESET"; break;
|
||||
case TAP_IDLE: ret = "IDLE"; break;
|
||||
@@ -422,7 +422,7 @@ static int handle_svf_command(struct command_context_s *cmd_ctx, char *cmd, char
|
||||
// TAP_RESET
|
||||
jtag_add_tlr();
|
||||
|
||||
while (ERROR_OK == svf_read_command_from_file(svf_fd) )
|
||||
while (ERROR_OK == svf_read_command_from_file(svf_fd))
|
||||
{
|
||||
if (ERROR_OK != svf_run_command(cmd_ctx, svf_command_buffer))
|
||||
{
|
||||
@@ -505,7 +505,7 @@ static int svf_read_command_from_file(int fd)
|
||||
char ch, *tmp_buffer = NULL;
|
||||
int cmd_pos = 0, cmd_ok = 0, slash = 0, comment = 0;
|
||||
|
||||
while (!cmd_ok && (read(fd, &ch, 1) > 0) )
|
||||
while (!cmd_ok && (read(fd, &ch, 1) > 0))
|
||||
{
|
||||
switch (ch)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user