summaryrefslogtreecommitdiffstats
path: root/src/cli/report.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/report.cpp')
-rw-r--r--src/cli/report.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cli/report.cpp b/src/cli/report.cpp
index 7f317f05..6b2bf2e2 100644
--- a/src/cli/report.cpp
+++ b/src/cli/report.cpp
@@ -147,12 +147,6 @@ static void write_crash_report_field(FILE *fp, crash_data_t *crash_data,
return;
}
- if (value->flags & CD_FLAG_SYS)
- {
- error_msg("Cannot update field %s because it is a system value", field);
- return;
- }
-
fprintf(fp, "%s%s\n", FIELD_SEP, field);
fprintf(fp, "%s\n", description);
@@ -226,12 +220,6 @@ static int read_crash_report_field(const char *text, crash_data_t *report,
return 0;
}
- if (value->flags & CD_FLAG_SYS)
- {
- error_msg("Cannot update field %s because it is a system value", field);
- return 0;
- }
-
// Do not change noneditable fields.
if (!(value->flags & CD_FLAG_ISEDITABLE))
return 0;