# HG changeset patch # User Sebastien Decugis # Date 1278560061 -32400 # Node ID e93428e7ab3171b185195a581d2567558a2af94a # Parent 0c91b5bf19b1ce389e805484a3cafa06d7377c94 Fix compilation warning diff -r 0c91b5bf19b1 -r e93428e7ab31 libfreeDiameter/dispatch.c --- 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: