diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-12-13 01:05:40 -0800 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2018-01-03 10:39:50 +0100 |
commit | 3a79a8d3980407f1e0f83797c92ef19899980115 (patch) | |
tree | a62c787044b639a839966c35454b14ccb8a93b37 | |
parent | f79798771046522d1c3201a5dfd0df3b840ef108 (diff) |
SynthesisDBPlugin.cpp: fix error path
This is a cut-and-paste error from upstream libsynthesis: an error
code was returned in an error case where a boolean should have been
returned.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-rw-r--r-- | src/syncevo/SynthesisDBPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncevo/SynthesisDBPlugin.cpp b/src/syncevo/SynthesisDBPlugin.cpp index 6d76c9b7..d61dbb7d 100644 --- a/src/syncevo/SynthesisDBPlugin.cpp +++ b/src/syncevo/SynthesisDBPlugin.cpp @@ -475,7 +475,7 @@ bool SyncEvolution_ReadNextMapItem( CContext aContext, MapID mID, bool aFirst ) { SyncSource *source = DBC( aContext ); if (!source) { - return LOCERR_WRONGUSAGE; + return false; } bool res = false; try { |