Skip to content

Commit

Permalink
Fix rar pattern
Browse files Browse the repository at this point in the history
Removed some experimental (and apperantly broken) code.
  • Loading branch information
targodan committed Nov 27, 2024
1 parent d7208c5 commit 3b4c03e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions patterns/rar.hexpat
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,6 @@ struct CompressionInformation {
vint value; // TODO: I'd like to somehow cast the resulting value to _CompressionInformation
};

fn to_CompressionInformation(vint v) {
std::mem::Reinterpreter<u64, _CompressionInformation> conv;
conv.from = v;
return conv.to;
};

struct FileOrServiceHeader {
HeaderFlags flags; // should be vint but not compatible with bitfield
if (flags.extraAreaIsPresent) {
Expand Down

0 comments on commit 3b4c03e

Please sign in to comment.