Set error flag within CC_set_warnings_as_errors.
Set error flag within CC_set_warnings_as_errors.

Consolidate duplicated code setting the error_flag directly into the
setter which has 100% control over it.

git-svn-id: 33c1020af00f61ce75d0fe36814d3322ab23371a@1349866 13f79535-47bb-0310-9956-ffa450edef68

kidaa/lucy,pombredanne/apache-lucy,rectang/lucy,rectang/lucy,apache/lucy,apache/lucy,pombredanne/apache-lucy,kidaa/lucy,rbevers/lucy,rectang/lucy,nwellnhof/lucy,rbevers/lucy,pombredanne/apache-lucy,kidaa/lucy,apache/lucy,pombredanne/apache-lucy,rectang/lucy,apache/lucy,rectang/lucy,apache/lucy,rectang/lucy,kidaa/lucy,kidaa/lucy,nwellnhof/lucy,kidaa/lucy,apache/lucy,kidaa/lucy,pombredanne/apache-lucy,rbevers/lucy,nwellnhof/lucy,rbevers/lucy,nwellnhof/lucy,rbevers/lucy,rbevers/lucy,rectang/lucy,apache/lucy,nwellnhof/lucy,nwellnhof/lucy,kidaa/lucy,pombredanne/apache-lucy,rbevers/lucy,pombredanne/apache-lucy,nwellnhof/lucy