Mercurial > hg > freeDiameter
changeset 398:e93428e7ab31
Fix compilation warning
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 08 Jul 2010 12:34:21 +0900 |
parents | 0c91b5bf19b1 |
children | 9dc01eac6c5a |
files | libfreeDiameter/dispatch.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libfreeDiameter/dispatch.c Thu Jul 08 11:12:36 2010 +0900 +++ b/libfreeDiameter/dispatch.c Thu Jul 08 12:34:21 2010 +0900 @@ -157,6 +157,9 @@ fd_list_init(&new->parent, new); new->how = how; switch (how) { + case DISP_HOW_ANY: + /* there is no "when" in that case */ + break; case DISP_HOW_AVP_ENUMVAL: new->when.value = when->value; case DISP_HOW_AVP: