diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-25 20:18:26 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-25 20:18:26 +0000 |
commit | 5279d519f8e98d6a134e77b54669512f618672bd (patch) | |
tree | ba6da87ea129be1f77ad0f07a33d88b2ab544498 /src/helper/log.c | |
parent | 3d6bcf07921753141a3905ee5619724573460cb3 (diff) | |
download | riscv-openocd-5279d519f8e98d6a134e77b54669512f618672bd.zip riscv-openocd-5279d519f8e98d6a134e77b54669512f618672bd.tar.gz riscv-openocd-5279d519f8e98d6a134e77b54669512f618672bd.tar.bz2 |
- remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@348 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/log.c')
-rw-r--r-- | src/helper/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/log.c b/src/helper/log.c index 861e4b3..a5432aa 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -197,7 +197,7 @@ int log_remove_callback(log_callback_fn fn, void *priv) { log_callback_t *cb, **p; - for (p = &log_callbacks; cb = *p; p = &(*p)->next) + for (p = &log_callbacks; (cb = *p); p = &(*p)->next) { if (cb->fn == fn && cb->priv == priv) { |