aboutsummaryrefslogblamecommitdiffstats
path: root/pop_error.c
blob: 9f830a0520cb14aa0eebdd5cfef2dca613991140 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                         
/* See LICENSE file for copyright and license details. */
#include "internal.h"


void
liberror_pop_error(void)
{
	struct liberror_error *cause;
	if (liberror_have_error_) {
		cause = liberror_error_.cause;
		liberror_error_.cause = NULL;
		liberror_set_error_existing(cause);
	}
}