Skip to content

Commit

Permalink
Merge pull request OpenSCAP#1197 from jan-cerny/no_wtf
Browse files Browse the repository at this point in the history
Remove unused commented code
  • Loading branch information
mpreisler authored Oct 1, 2018
2 parents 2a739d4 + 7e1e642 commit cdf1ef8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/OVAL/probes/independent/textfilecontent54.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ int probe_main(probe_ctx *ctx, void *arg)
{
SEXP_t *path_ent, *file_ent, *inst_ent, *bh_ent, *patt_ent, *filepath_ent, *probe_in;
SEXP_t *r0;
/* char *i_val, *m_val, *s_val; */
bool val;
struct pfdata pfd;
int ret = 0;
Expand Down Expand Up @@ -410,11 +409,6 @@ int probe_main(probe_ctx *ctx, void *arg)
SEXP_free(ent_val);
assume_d(pfd.pattern != NULL, -1);

/* wtf?
i_val = s_val = "0";
m_val = "1";
*/

/* reset filebehavior attributes if 'filepath' entity is used */
if (filepath_ent != NULL && bh_ent != NULL) {
SEXP_t *r1, *r2, *r3;
Expand Down

0 comments on commit cdf1ef8

Please sign in to comment.