~ubuntu-branches/ubuntu/vivid/checkpolicy/vivid

« back to all changes in this revision

Viewing changes to policy_define.c

  • Committer: Bazaar Package Importer
  • Author(s): Russell Coker
  • Date: 2011-03-31 23:35:30 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20110331233530-jckjfmfuptmfmn57
Tags: 2.0.23-1
* Made myself the maintainer and made Manoj an uploader as he hasn't done an
  upload for a while
* New upstream release
+ Remove unused variables to fix compliation under GCC 4.6 by Justin Mattock
* Used the latest versions of libsepol1-dev and libselinux1-dev in
  build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1213
1213
{
1214
1214
        char *id;
1215
1215
        type_datum_t *datum, *attr;
1216
 
        int newattr = 0;
1217
1216
 
1218
1217
        if (pass == 2) {
1219
1218
                /*
1266
1265
                        /* treat it as a fatal error */
1267
1266
                        yyerror2("attribute %s is not declared", id);
1268
1267
                        return -1;
1269
 
                } else {
1270
 
                        newattr = 0;
1271
1268
                }
1272
1269
 
1273
1270
                if (attr->flavor != TYPE_ATTRIB) {