Let $f:(a,b)\rightarrow\mathbb{R}$.
The statement to prove is that if $\forall x \in (a,b)$ Lebesgue integral $\int_{(a,x)}fd\lambda=0$, then $f(x)=0$ $\lambda$-almost everywhere.
So if it wouldn't be true then we would have $\forall x \in (a,b):\int_{(a,x)}f_+d\lambda=\int_{(a,x)}f_-d\lambda\neq0$, so every interval contains positive and negative values of the function. It is possible to construct such an $f$ so my guess would be that this function is not Lebesgue measurable and we can't take this integral.
Thanks in advance!