This is required to prove that the expression $d(f,g)=\int|f-g|dt$ is a metric. We need to show that if $\int |f-g|dt=0$ then $f=g$. It seems obvious but how to prove it? This relation is not given in Paul's Online Math Notes for example.
f,g continuous on [a,b]
If $u \ge 0$ is continuous then $$0 \le \int_a^x u(t) \, dt \le \int_a^b u(t) \, dt = 0$$ for all $x \in [a,b]$.
Write $F(x) = \displaystyle \int_a^x u(t) \, dt.$ It follows that $F$ is identically zero, and by the fundamental theorem of calculus $F'(x) = u(x)$ for all $x \in (a,b)$. Thus $u(x) = 0$ for all $x \in (a,b)$ and since $u$ is continuous, $u(a) = u(b) = 0$ too.