You know they fly the planes even if they're empty, right?
But in general: if no one is booked on the plane, they will stop selling that flight pretty quick. Of course in the short term they might fly an empty flight if all passengers no-showed and if they need the plane at the other airport, but their fleet allocation optimizer probably works at most a couple days ahead, so empty flights will soon be culled. Similarly routes with few passengers will get allocated smaller planes in the future, etc, etc.