diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-08-31 12:12:34 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-08-31 12:12:34 +0000 |
| commit | 0a17ff11d888652cef936e99ad338eedcfbb890c (patch) | |
| tree | 9e6611b43680d466ab0a4e701fff7158be482249 | |
| parent | 7bdaf1b0625742194e8aa815eecf88159480efe6 (diff) | |
| download | lasso-0a17ff11d888652cef936e99ad338eedcfbb890c.tar.gz lasso-0a17ff11d888652cef936e99ad338eedcfbb890c.tar.xz lasso-0a17ff11d888652cef936e99ad338eedcfbb890c.zip | |
default: to set descriptor to NULL; so it won't be undefined on the next line
where it was tested.
| -rw-r--r-- | lasso/Attic/protocols/provider.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lasso/Attic/protocols/provider.c b/lasso/Attic/protocols/provider.c index 72243c4f..cee40322 100644 --- a/lasso/Attic/protocols/provider.c +++ b/lasso/Attic/protocols/provider.c @@ -129,6 +129,9 @@ lasso_provider_get_metadata_value(LassoProvider *provider, descriptor = lasso_node_get_child(provider->metadata, "IDPDescriptor", NULL, &tmp_err); break; + default: + descriptor = NULL; + break; } if (descriptor == NULL) { g_propagate_error (err, tmp_err); |
