Never give consent to a warrant less search.
The driver, knowing that he had illegal substance in his trunk took the chance that it would not be found or that the officer would not search since the driver agreed to the search giving the appearance of innocence. The greatest danger in this sort of slide into tyranny is if the driver indeed was innocent yet the search turns up ‘something incriminating.’