A Pennsylvania federal judge has dismissed a lawsuit filed by a bar patron who claims he and another customer should have been searched for weapons before they shot one another in February.