Homeless people use the library more than just a place to get warm. It's a free place to use the toilet. It's an important entry point to social services, and free internet access.
And of course, plenty of people use them as a place to read books, magazines, and newspapers.