aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLXAssetData.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-05 23:50:41 +0000
committerJustin Clark-Casey (justincc)2012-03-05 23:50:41 +0000
commitfd2b285b1bf35d02ce8c901eaccf0b41066fb6d6 (patch)
tree497e9d46326a15b4356c5f70fef33a2fac3f1448 /OpenSim/Data/MySQL/MySQLXAssetData.cs
parentMake asset compression optional. Currently set to false and not configurable... (diff)
downloadopensim-SC-fd2b285b1bf35d02ce8c901eaccf0b41066fb6d6.zip
opensim-SC-fd2b285b1bf35d02ce8c901eaccf0b41066fb6d6.tar.gz
opensim-SC-fd2b285b1bf35d02ce8c901eaccf0b41066fb6d6.tar.bz2
opensim-SC-fd2b285b1bf35d02ce8c901eaccf0b41066fb6d6.tar.xz
remove unnecessary hash local variable
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLXAssetData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLXAssetData.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLXAssetData.cs b/OpenSim/Data/MySQL/MySQLXAssetData.cs
index bfc1c55..0aff618 100644
--- a/OpenSim/Data/MySQL/MySQLXAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLXAssetData.cs
@@ -116,8 +116,6 @@ namespace OpenSim.Data.MySQL
116 { 116 {
117 dbcon.Open(); 117 dbcon.Open();
118 118
119 string hash = null;
120
121 using (MySqlCommand cmd = new MySqlCommand( 119 using (MySqlCommand cmd = new MySqlCommand(
122 "SELECT name, description, asset_type, local, temporary, asset_flags, creator_id, data FROM xassetsmeta JOIN xassetsdata ON xassetsmeta.hash = xassetsdata.hash WHERE id=?id", 120 "SELECT name, description, asset_type, local, temporary, asset_flags, creator_id, data FROM xassetsmeta JOIN xassetsdata ON xassetsmeta.hash = xassetsdata.hash WHERE id=?id",
123 dbcon)) 121 dbcon))