summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-11 03:59:05 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-11 03:59:05 +0000
commit65d3eee290c8d75e7b587e42e7a81c972def0480 (patch)
tree51a3fe97ed4c8319182f0219b0ce777d09caf89f /src/common
parent5a747f9affbcf862a64e531e4bcf6b4b42d3a5cd (diff)
downloadhercules-65d3eee290c8d75e7b587e42e7a81c972def0480.tar.gz
hercules-65d3eee290c8d75e7b587e42e7a81c972def0480.tar.bz2
hercules-65d3eee290c8d75e7b587e42e7a81c972def0480.tar.xz
hercules-65d3eee290c8d75e7b587e42e7a81c972def0480.zip
disabled unused grf_shuffle_enc, gcc was bugging regarding it not being called anywhere.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15842 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/grfio.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/common/grfio.c b/src/common/grfio.c
index cc0e1bb42..2292e1e07 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -104,22 +104,21 @@ static uint8_t grf_substitution(uint8_t in)
return out;
}
-
-static void grf_shuffle_enc(BIT64* src)
-{
- BIT64 out;
-
- out.b[0] = src->b[3];
- out.b[1] = src->b[4];
- out.b[2] = src->b[5];
- out.b[3] = src->b[0];
- out.b[4] = src->b[1];
- out.b[5] = src->b[6];
- out.b[6] = src->b[2];
- out.b[7] = grf_substitution(src->b[7]);
-
- *src = out;
-}
+/* this is not used anywhere, is it ok to delete? */
+//static void grf_shuffle_enc(BIT64* src) {
+// BIT64 out;
+//
+// out.b[0] = src->b[3];
+// out.b[1] = src->b[4];
+// out.b[2] = src->b[5];
+// out.b[3] = src->b[0];
+// out.b[4] = src->b[1];
+// out.b[5] = src->b[6];
+// out.b[6] = src->b[2];
+// out.b[7] = grf_substitution(src->b[7]);
+//
+// *src = out;
+//}
static void grf_shuffle_dec(BIT64* src)