\documentclass[10pt,a5paper,twoside]{memoir}
\usepackage{lmodern}
\usepackage{ragged2e}
\usepackage{longtable}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[main=english]{babel}
\usepackage[showframe,pass]{geometry}
\begin{document}
\begin{longtable}{ | >{\RaggedRight}p{3cm} | >{\RaggedRight}p{5.0cm} | }
\hline
Cor & Branco \\
\hline
\end{longtable} \end{document}
The log is:
Underfull \vbox (badness 10000) detected at line 190
[]
The line 190 is \end{longtable}
Update
I took this other example from How to make a table on more than one page by using the table environment
\documentclass[10pt,a5paper,twoside]{memoir}
\usepackage{lmodern}
\usepackage{ragged2e}
\usepackage{ltablex}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[main=english]{babel}
\usepackage[showframe,pass]{geometry}
\begin{document}
\label{tab:daypack}
\begin{tabularx}{\linewidth}{|@{}|cX@{}|}
\caption{Example of an table}\\
\toprule
\textbf{Column 1} & \textbf{Column 2} \\[6pt]
\midrule
\endhead
\hline
$R$ & This is an example sentence \\
\bottomrule
\end{tabularx}
\end{document}
And it is also having the same warning on line 196, but if I comment the \hline
the warning stops:
Underfull \vbox (badness 10000) detected at line 196
[]
Best Answer
The warning is being throw because there is a
\hline
directly after the table header. This should not do the warning anymore:However this does not fix the problem of having correctly a line placed at the top of the table:
But the table presented by @Bernard on the question How to auto adjust my last table column width, and why is there Underfull \vbox badness on this table? is correctlly being rendered with no warning at all: