When diff exit code is zero and there are no differences then a window pops up showing output like "Diff finished (no differences)" and the user has to dismiss this useless window. If there are no differences then emacs should just show this in a message instead of popping up a window with not useful content.