]> git.sur5r.net Git - openocd/commit
Simplify and fix target handle_rwp_command routine:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 11:42:47 +0000 (11:42 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 11:42:47 +0000 (11:42 +0000)
commit57612ecf1d41f250c57725491ed442ebe6d75ef0
tree1526a04144a06fb8cbc44c2069664a4277a854cf
parentd7ada2457e35d92edfe6bc9946f9c91bd6aeac9b
Simplify and fix target handle_rwp_command routine:
- Return syntax error unless exactly one argument is passed.
- Move variable declaration to point of first use.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2193 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/target/target.c