X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Ferror.c;h=15a25a0033a185e5e72c852ae1cdd64c72d0c3bb;hb=5e7e327ac8ef964a8b21d59bd208969f5c41ad28;hp=0280449ea61137f477faba993935450f13a2bae9;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git
diff --git a/src/error.c b/src/error.c
index 0280449e..15a25a00 100644
--- a/src/error.c
+++ b/src/error.c
@@ -14,10 +14,10 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
+#include
#include
/**
@@ -58,8 +58,6 @@ SR_API const char *sr_strerror(int error_code)
*/
switch (error_code) {
- case SR_OK_CONTINUE:
- return "not enough data to decide error status yet";
case SR_OK:
return "no error";
case SR_ERR:
@@ -115,8 +113,6 @@ SR_API const char *sr_strerror_name(int error_code)
*/
switch (error_code) {
- case SR_OK_CONTINUE:
- return "SR_OK_CONTINUE";
case SR_OK:
return "SR_OK";
case SR_ERR: